fix cloud-init and fix options

This commit is contained in:
Arif Ali 2020-12-28 09:31:10 +00:00
parent daa717cfb7
commit 121ff6b456
Signed by: arif
GPG Key ID: 369608FBA1353A70
2 changed files with 3 additions and 2 deletions

View File

@ -139,7 +139,7 @@ show_help() {
read_config
while getopts ":cwianp" opt; do
while getopts ":cwdanp" opt; do
case $opt in
c)
create_node

View File

@ -34,9 +34,10 @@ write_files:
#!/bin/bash
git clone https://github.com/arif-ali/maas-autobuilder.git /root/maas-autobuilder
cd /root/maas-autobuilder
cd /root/maas-autobuilder/configs
ln -sf ${HOSTNAME}.config hypervisor.config
cd ../
chmod +x manage-maas-nodes.sh
./manage-maas-nodes.sh -c
permissions: '0755'