|
|
|
@ -33,6 +33,25 @@ packages: |
|
|
|
- haproxy |
|
|
|
- firewalld |
|
|
|
|
|
|
|
# Uncomment the following lines for HTTP proxy support |
|
|
|
# |
|
|
|
# bootcmd: |
|
|
|
# - | |
|
|
|
# cloud-init-per once env sh -c "mkdir -p /etc/systemd/system/cloud-config.service.d && |
|
|
|
# mkdir -p /etc/systemd/system/cloud-final.service.d && { cat > /etc/cloud/env <<-EOF |
|
|
|
# http_proxy=http://admin.itix.lab:3128 |
|
|
|
# https_proxy=http://admin.itix.lab:3128 |
|
|
|
# EOF |
|
|
|
# } && { cat > /etc/systemd/system/cloud-config.service.d/override.conf <<-EOF |
|
|
|
# [Service] |
|
|
|
# EnvironmentFile=/etc/cloud/env |
|
|
|
# EOF |
|
|
|
# } && { cat > /etc/systemd/system/cloud-final.service.d/override.conf <<-EOF |
|
|
|
# [Service] |
|
|
|
# EnvironmentFile=/etc/cloud/env |
|
|
|
# EOF |
|
|
|
# } && systemctl daemon-reload" |
|
|
|
|
|
|
|
runcmd: |
|
|
|
# Enable KVM virsh console access |
|
|
|
- [ "systemctl", "enable", "serial-getty@ttyS0.service" ] |
|
|
|
|