top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

ipv6 only with static network configuration kickstart install on centos

0 votes
485 views

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)

posted Jun 16, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

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
answer Jun 16, 2013 by anonymous
Similar Questions
0 votes

I have the kick start file where my root password is store like

# Root password
rootpw --iscrypted $1$1SItJOAg$UM9n7lRFK1/OCs./rgQtQ/
# System authorization information
auth --useshadow --passalgo=sha512

Is there any way to decrypt the password and get it as plain text. I know single user mode works but my case it in remote site.

0 votes

Is there a way to use kickstart to boot a machine into a manual setup process? Basically what I'm getting to is this, the machine doesn't not have a CD drive in it (nor can I add one), but I can boot it via kickstart.

The install media is on the network. What I'd like to do is boot this machine up and rather than have kickstart do everything for me as far as installing the OS and packages, instead present me with a manual setup (that I can get to via vnc) where I get to pick what I want or don't want on the machine. After it's all done, I'm going to go through the anaconda files and generate a base kickstart for all future installs. Does anyone have an example kickstart file I can go off of to do that?

+3 votes

When I read wiki , its written like this

As of 6 February 2010, multihoming in the next-generation Internet Protocol (IPv6) 
was not yet standardized

Is it supported now ?

...