Revert "Fix /var/run for centos lxc containers"
This reverts commit 018aeb4c34f70cb244f7633923828b6ececfb1a2. Now that this has been resolved upstream, this needs to be reverted as it's causing CentOS builds to fail. Change-Id: I55371b7eb3c5276e4d13927544c2e1d49d487753
This commit is contained in:
parent
018aeb4c34
commit
32e6fc2f9f
@ -53,13 +53,6 @@ lxc_cache_map:
|
||||
if [ -a /etc/resolv.conf ]; then
|
||||
mv /etc/resolv.conf /etc/resolv.conf.org
|
||||
fi
|
||||
# TODO(mgariepy)
|
||||
# Remove this once https://github.com/lxc/lxc/pull/1286 has merged.
|
||||
if [ -d /var/run/ ]; then
|
||||
mv /var/run/* /run/
|
||||
rmdir /var/run
|
||||
ln -sf ../run /var/run
|
||||
fi
|
||||
echo "nameserver {{ lxc_net_address }}" > /etc/resolv.conf
|
||||
yum install -y {{ lxc_cache_distro_packages | join(' ') }}
|
||||
rm -f /usr/bin/python
|
||||
|
Loading…
x
Reference in New Issue
Block a user