Merge "Change PTL informatin in INFO"
[bottlenecks.git] / utils / infra_setup / vm_dev_setup / vm_prepare_setup.sh
1 #!/bain/bash
2 ##############################################################################
3 # Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
4 #
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10
11 main()
12 {
13     SCRIPT_DIR=`cd ${BASH_SOURCE[0]%/*};pwd`
14
15     source $SCRIPT_DIR/package.conf
16     source $SCRIPT_DIR/hosts.conf
17     source $SCRIPT_DIR/common.sh
18
19     hosts_config
20     generate_ssh_key
21     configue_nameserver $nameserver_ip
22     #install_packages $PreInstall_Packages
23 }
24
25 main
26