F18 kvm guest kickstart with text only

Scott Poore spoore at redhat.com
Wed Sep 12 20:58:17 UTC 2012


Has anyone done kickstarts with F18 with text only with kvm guest (on F16 or F17 host) with virt-install with --nographics?

I thought I'd seen/heard that people had done text installs but, I can't seem 

I'm trying this:

virt-install --connect=qemu:///system \
  --network=bridge:virbr0 \
  --initrd-inject=./vm7.ks \
  --extra-args="ks=file:/vm7.ks console=tty0 console=ttyS0,115200 serial rd_NO_PLYMOUTH" \
  --name=vm7 \
  --disk path=/data/VirtualMachines/vm7.img,format=qcow2,size=8 \
  --disk path=/data/isos/F18RC2_64.iso,device=cdrom \
  --ram 1024 \
  --vcpus=1 \
  --check-cpu \
  --hvm \
  --location=/data/isos/F18RC2_64.iso \
  --nographics


vm7.ks file contents:

install
text
reboot
lang en_US.UTF-8
keyboard us
network --bootproto=static --ip=192.168.122.107 --netmask=255.255.255.0 --gateway=192.168.122.1 --nameserver=192.168.122.1
rootpw testpwd
firewall --enabled --ssh
selinux --enforcing
timezone --utc America/New_York
bootloader --location=mbr --append="console=tty0 console=ttyS0,115200 rd_NO_PLYMOUTH"
zerombr
clearpart --all --initlabel
autopart

%packages --nobase
@core
%end

So, anyone know offhand what I'm missing or doing wrong?

Thanks,
Scott


More information about the test mailing list