From 2e281752fb58561588ebf66c4b5b8d914cd30f56 Mon Sep 17 00:00:00 2001 From: Luca Capello Date: Wed, 7 Nov 2012 16:24:50 +0100 Subject: [PATCH] preseed.cfg: be consistent with static network configuration Set the default static network to the one libvirt defines as "Userspace SLIRP stack", which corresponds to the "-net user" option in QEMU. It thus reflects the value for mirror/http/hostname. --- preseed.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/preseed.cfg b/preseed.cfg index b594f5b..5079ee3 100644 --- a/preseed.cfg +++ b/preseed.cfg @@ -19,10 +19,10 @@ d-i netcfg/dhcp_timeout string 60 #d-i netcfg/disable_dhcp boolean true # Static network configuration. -d-i netcfg/get_nameservers string 192.168.99.1 -d-i netcfg/get_ipaddress string 192.168.99.42 +d-i netcfg/get_nameservers string 10.0.2.3 +d-i netcfg/get_ipaddress string 10.0.2.99 d-i netcfg/get_netmask string 255.255.255.0 -d-i netcfg/get_gateway string 192.168.99.1 +d-i netcfg/get_gateway string 10.0.2.2 d-i netcfg/confirm_static boolean true # Any hostname and domain names assigned from dhcp take precedence over