debian: properly deal with Debian stable/unstable
This commit fixes the if/else block around Debian stable/unstable which was badly merged during the last rebase. Change-Id: Ia2eb806da3d7c8d28afffb026f35600c7125d8d7
This commit is contained in:
parent
b46ece4de9
commit
6da238485d
@ -52,9 +52,6 @@ else
|
|||||||
cat << EOF | sudo tee -a ${TARGET_ROOT}/etc/network/interfaces
|
cat << EOF | sudo tee -a ${TARGET_ROOT}/etc/network/interfaces
|
||||||
source-directory /etc/interfaces.d
|
source-directory /etc/interfaces.d
|
||||||
EOF
|
EOF
|
||||||
else # unstable
|
|
||||||
sudo chroot ${TARGET_ROOT} apt-get install -y $CLOUD_INIT_PACKAGES
|
|
||||||
sudo sh -c "http_proxy=$http_proxy chroot ${TARGET_ROOT} apt-get update"
|
|
||||||
apt_get_bp_extra_opts="-t wheezy-backports"
|
apt_get_bp_extra_opts="-t wheezy-backports"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user