From bca69c18937428afcf3e30a658665d810d7657b9 Mon Sep 17 00:00:00 2001 From: Drew Walters Date: Thu, 14 May 2020 21:46:44 +0000 Subject: [PATCH] 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 --- debian-isogen/files/packages_install.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/debian-isogen/files/packages_install.sh b/debian-isogen/files/packages_install.sh index 20a0d02..209146f 100644 --- a/debian-isogen/files/packages_install.sh +++ b/debian-isogen/files/packages_install.sh @@ -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/*