Re: ipv6 only kickstart installs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



network is not required, you can also use --initrd-inject trick like this:

NAME=$(date +%s)-$RANDOM

virt-install --name rhel6PVi-console-$NAME \
--disk /var/lib/libvirt/images/rhel6PV-console-$NAME.img,size=5 \
--nographics \
--vcpus=1 --ram=1024 \
--location /var/www/html/centos.iso \
--initrd-inject=/var/www/html/anaconda-ks.cfg \
--extra-args="console=ttyS0,115200 ks=file:/anaconda-ks.cfg" \
--network=bridge:br0

--
Eero


2013/6/17 Markus Falb <wnefal@xxxxxxxxx>

> Hi, I have a kvm host and I try to install a centos 6 guest with a static
> ip address.
>
> When I do a manual install I eventually get to the network configuration
> and if I enter IP, gateway and DNS Server I can ping6 the guest from the
> host and I can ping6 the guest from outside.
>
> I do not want to do manual installation, so I have to specify a url to a
> kickstart file, but to download it the network must be configured.
> I try some kernel options
>
> noipv4 ipv6=... gateway=... dns=... ks=http…
>
> This gets me so far that I can ping6 the guest from the host, but I can
> not reach it from outside.  When I ping from outside I see the guest
> sending neighbor solicitation requests for the IP I ping from, but this IP
> is in another network. I think the guest does not get a gateway configured.
> At least the ipv6 option is working, because I can ping the guest from the
> host.
>
> How do I achieve such a ipv6 only with static network configuration
> kickstart install?
> How to specify ipv6 gateway (and possibly dns)
>
> --
> Markus
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
>
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux