boxes: Backport GH-92
This commit is contained in:
parent
a7074545ed
commit
e598086913
1 changed files with 8 additions and 0 deletions
|
@ -33,3 +33,11 @@ lxc-create -n ${CONTAINER} -t download -- \
|
|||
# TODO: Nicely handle boxes that don't have an image associated
|
||||
|
||||
log "Container created!"
|
||||
|
||||
|
||||
# Fixes some networking issues
|
||||
# See https://github.com/fgrehm/vagrant-lxc/issues/91 for more info
|
||||
if ! $(grep -q 'ip6-allhosts' ${ROOTFS}/etc/hosts); then
|
||||
log "Adding ipv6 allhosts entry to container's /etc/hosts"
|
||||
echo 'ff02::3 ip6-allhosts' >> ${ROOTFS}/etc/hosts
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue