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:
parent
6c5cf09641
commit
bca69c1893
@ -19,6 +19,7 @@ echo "127.0.0.1 localhost" > /etc/hosts
|
|||||||
apt-get update && apt-get install -y --no-install-recommends \
|
apt-get update && apt-get install -y --no-install-recommends \
|
||||||
linux-image-amd64 \
|
linux-image-amd64 \
|
||||||
live-boot \
|
live-boot \
|
||||||
|
cloud-init \
|
||||||
systemd-sysv\
|
systemd-sysv\
|
||||||
apt-transport-https \
|
apt-transport-https \
|
||||||
openssh-server \
|
openssh-server \
|
||||||
@ -30,16 +31,9 @@ apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
tcpdump \
|
tcpdump \
|
||||||
iputils-ping \
|
iputils-ping \
|
||||||
vlan
|
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
|
# ensure we support bonding and 802.1q
|
||||||
|
|
||||||
echo 'bonding' >> /etc/modules
|
echo 'bonding' >> /etc/modules
|
||||||
echo '8021q' >> /etc/modules
|
echo '8021q' >> /etc/modules
|
||||||
|
|
||||||
apt-get update && apt-get install -y --no-install-recommends \
|
rm -rf /var/lib/apt/lists/*
|
||||||
cloud-init
|
|
||||||
rm -rf /etc/apt/sources.list.d/unstable.list /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user