summaryrefslogtreecommitdiffstats
path: root/utils/infra_setup/vm_dev_setup/vm_prepare_setup.sh
blob: 7c8d8481fa58a71eacca6b9e1b54076eb9ab7035 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bain/bash
##############################################################################
# Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

main()
{
    SCRIPT_DIR=`cd ${BASH_SOURCE[0]%/*};pwd`

    source $SCRIPT_DIR/package.conf
    source $SCRIPT_DIR/hosts.conf
    source $SCRIPT_DIR/common.sh

    hosts_config
    generate_ssh_key
    configue_nameserver $nameserver_ip
    #install_packages $PreInstall_Packages
}

main