Added a newer version of the ovs script from github

This commit is contained in:
root 2024-07-15 23:16:28 +00:00
parent 9429084a98
commit 407859e730
3 changed files with 37 additions and 0 deletions

View File

@ -67,3 +67,12 @@ alpine:
deploy-alpine:
cp -fv alpine-master-init.iso ./isos/
alpine-ovs:
cp -fv user-data-alpine-ovs user-data
cp -fv meta-data-alpine-ovs meta-data
bash gen-hostname-and-instance-id.sh
bash ./build.sh alpine-ovs-master-init.iso
deploy-alpine-ovs:
cp -fv alpine-ovs-master-init.iso ./isos/

View File

@ -0,0 +1 @@
local-hostname: alpine

View File

@ -0,0 +1,27 @@
#cloud-config
package_update: true
package_upgrade: false
package_reboot_if_required: false
#package_reboot: true
packages:
- wget
ssh_pwauth: true
password: ###PASSWORD###
ssh_authorized_keys:
- ###SSH_KEY_1###
- ###SSH_KEY_2###
- ###SSH_KEY_3###
chpasswd:
expire: false
users:
- default
runcmd:
- [wget, https://gist.githubusercontent.com/elico/bb51c4b7b3edc83c6f804170090752b6/raw/f2db74effe0d3b6cf605bf218105737f43bdf30c/alpine-vm-install-openvswitch.sh, -O, /tmp/alpine-vm-install-openvswitch.sh]
- [sh, /tmp/alpine-vm-install-openvswitch.sh]