debian-isogen: Remove unstable repository

This change removes the unstable Debian repository that was added to
install cloud-init. Cloud-init is available in the stable repository at
the time of this commit.

Change-Id: Id51a1c7b60595630ace664038db31a71a07e4c6a
Signed-off-by: Drew Walters <andrew.walters@att.com>
This commit is contained in:
Drew Walters 2020-05-14 21:46:44 +00:00
parent 6c5cf09641
commit bca69c1893

View File

@ -19,6 +19,7 @@ echo "127.0.0.1 localhost" > /etc/hosts
apt-get update && apt-get install -y --no-install-recommends \
linux-image-amd64 \
live-boot \
cloud-init \
systemd-sysv\
apt-transport-https \
openssh-server \
@ -30,16 +31,9 @@ apt-get update && apt-get install -y --no-install-recommends \
tcpdump \
iputils-ping \
vlan
UNSTABLE_REPO="deb http://ftp.debian.org/debian unstable main"
echo "${UNSTABLE_REPO}" >> /etc/apt/sources.list.d/unstable.list
# ensure we support bonding and 802.1q
echo 'bonding' >> /etc/modules
echo '8021q' >> /etc/modules
apt-get update && apt-get install -y --no-install-recommends \
cloud-init
rm -rf /etc/apt/sources.list.d/unstable.list /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/*