diff options
Diffstat (limited to 'scripts/vyos/vyos-install.sh')
-rw-r--r-- | scripts/vyos/vyos-install.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/scripts/vyos/vyos-install.sh b/scripts/vyos/vyos-install.sh new file mode 100644 index 0000000..aa23064 --- /dev/null +++ b/scripts/vyos/vyos-install.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +set -e +set -x + +# answers_url=http://${PACKER_HTTP_IP}:${PACKER_HTTP_PORT}/answers.expect +# install_url=http://${PACKER_HTTP_IP}:${PACKER_HTTP_PORT}/install-image.vsh +install_url=http://${PACKER_HTTP_IP}:${PACKER_HTTP_PORT}/install-image.py + +# touch /root/answers.expect +# chmod 0600 /root/answers.expect +# wget $answers_url -O /root/answers.expect + +touch /root/install-image.py +chmod 0700 /root/install-image.py +wget $install_url -O /root/install-image.py + +python3 /root/install-image.py + |