fix cloud-init and fix options
This commit is contained in:
parent
daa717cfb7
commit
121ff6b456
@ -139,7 +139,7 @@ show_help() {
|
||||
|
||||
read_config
|
||||
|
||||
while getopts ":cwianp" opt; do
|
||||
while getopts ":cwdanp" opt; do
|
||||
case $opt in
|
||||
c)
|
||||
create_node
|
||||
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user