Add cloud-init for VMs

This commit is contained in:
Taylor Helsper 2021-04-11 16:47:13 -05:00
parent bf00077ff5
commit 312dcfd53b
2 changed files with 9 additions and 0 deletions

View File

@ -106,6 +106,11 @@ $TORIFY apt-get -y install libudev-dev libusb-1.0-0-dev python3-venv gunicorn sq
$TORIFY apt-get -y install torsocks python3-requests libsystemd-dev libjpeg-dev zlib1g-dev psmisc
$TORIFY apt-get -y install hexyl libbz2-dev
# Install device specific packages
if [ $IS_X86 = 1 ]; then
$TORIFY apt-get -y install cloud-init
fi
# Make sure some software is removed
apt-get -y purge ntp # (conflicts with systemd-timedatectl)
apt-get -y purge chrony # (conflicts with systemd-timedatectl)

View File

@ -170,6 +170,10 @@ apt-get -y install zlib1g-dev libudev-dev libusb-1.0-0-dev python3-venv gunicorn
apt-get -y install sqlite3 libsqlite3-dev torsocks python3-requests libsystemd-dev
apt-get -y install libjpeg-dev zlib1g-dev psmisc hexyl libbz2-dev
# Install device specific packages
if [ $IS_X86 = 1 ]; then
apt-get -y install cloud-init
fi
# Make sure some software is removed
apt-get -y purge ntp # (conflicts with systemd-timedatectl)