vms/recipes/nuo/provisionning/nuo-3.18-install.sh

17 lines
275 B
Bash
Raw Normal View History

2023-10-11 09:29:46 +02:00
#!/bin/sh
#set -xeo pipefail
# Run the installer
setup-alpine -q
#yes | setup-alpine -e -f /root/install.conf
# Copy ssh keys
echo "Copy packer ssh key"
mount /dev/vg0/lv_root /mnt
cp -rp .ssh /mnt/root/
sync
umount /mnt
echo "Rebooting the host after install"
reboot -nf