Add cloud-init to vhd images.

cloud-init can be used in Azure now

(cherry picked from commit ac9a2fdbc5)

Related: rhbz#1628648
This commit is contained in:
David Shea 2018-10-05 14:47:28 -04:00
parent 6bcb2823d4
commit da0435bc90

View File

@ -25,7 +25,7 @@ timezone US/Eastern
bootloader --location=mbr --append="no_timer_check console=ttyS0,115200n8 console=tty1 net.ifnames=0" bootloader --location=mbr --append="no_timer_check console=ttyS0,115200n8 console=tty1 net.ifnames=0"
# Basic services # Basic services
services --enabled=sshd,chronyd,waagent services --enabled=sshd,chronyd,waagent,cloud-init
%post %post
# Remove random-seed # Remove random-seed
@ -43,6 +43,7 @@ kernel
grub2 grub2
chrony chrony
cloud-init
# Uninstall NetworkManager, install WALinuxAgent # Uninstall NetworkManager, install WALinuxAgent
-NetworkManager -NetworkManager