Skip to content
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.

Commit

Permalink
Attempts to force ipv4 for local ifaces
Browse files Browse the repository at this point in the history
As described in jakobadam#23, there are several options available to force an
ipv4 connection for the guest. Otherwise, the built box comes up with an
unroutable ipv6 address that can't get out.

So far, none of these options have resolved the issue.
  • Loading branch information
conorsch committed Feb 13, 2017
1 parent 7798c0d commit a747ce0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions debian/debian9-vagrant.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@
"passwd/username={{user `user`}} ",

"<enter>"
],
"qemuargs": [
[ "-netdev", "user,hostfwd=tcp::{{ .SSHHostPort }}-:22,id=user.0,ipv4"],
[ "-device", "virtio-net,netdev=user.0"]
]
}
],
Expand Down
6 changes: 5 additions & 1 deletion debian/http/preseed.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@ d-i partman/confirm_nooverwrite boolean true
d-i partman/confirm_write_new_label boolean true
d-i partman/default_filesystem string ext4
d-i passwd/root-login boolean false
d-i pkgsel/include string openssh-server aptitude
d-i pkgsel/include string openssh-server aptitude resolvconf
d-i pkgsel/upgrade select full-upgrade
d-i time/zone string CET
d-i preseed/late_command string \
if [ -x "/target/sbin/rdnssd" -a ! -x "/target/sbin/resolvconf" ] ; then \
in-target systemctl disable rdnssd.service ; \
fi
popularity-contest popularity-contest/participate boolean false
tasksel tasksel/first multiselect standard

0 comments on commit a747ce0

Please sign in to comment.