diff options
Diffstat (limited to 'vm-install.sh')
-rwxr-xr-x | vm-install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm-install.sh b/vm-install.sh index 933992cb..e8893efa 100755 --- a/vm-install.sh +++ b/vm-install.sh @@ -1,7 +1,7 @@ #!/bin/bash if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ]; then - echo "$0 <vm> <distro> <codename>" + echo "$0 <hostname> <distro> <codename>" exit 1 fi name=$1 @@ -24,4 +24,4 @@ echo "########## clearing old ssh host keys #########" echo "" echo "######## running the install playbook ########" -exec ansible-playbook -e "vmname=$name" -e "vmdistro=$distro" -e "vmdistcodename=$codename" $@ "$env_group/vm-install.yml" +exec ansible-playbook -e "hostname=$name" -e "install_distro=$distro" -e "install_codename=$codename" -e "hostenv=$env_group" $@ "$env_group/vm-install.yml" |