On Tue, Mar 4, 2014 at 3:31 PM, Giuseppe Scrivano <gscrivan@xxxxxxxxxx> wrote: > "Zeeshan Ali (Khattak)" <zeeshanak@xxxxxxxxx> writes: > >>> unfortunately not. I have used the following arguments to virt-install: >> >> I'm confused now, 'not' here means we do or do not need commandline? >> Since you said "unfortunately", i guess we *do* need it. In that case, >> you need to provide the comamndline template in your script. > > yes, it means we need a commandline :-) > >> >>> virt-install --connect qemu:///system --name debian_tmp \ >>> --initrd-inject=debian.ks --ram 1024 --hvm --disk=debian_tmp.img,size=10 \ >>> --location='http://ftp.debian.org/debian/dists/stable/main/installer-amd64/' \ >>> --extra="file=/debian.ks auto-install/enable \ >>> keyboard-configuration/xkb-keymap=us debian-installer/keymap=us \ >>> debian-installer/locale=en_US.UTF-8 console-setup/ask_detect=false \ >>> console-keymaps-at/keymap=us console-setup/layoutcode=en_US \ >>> debconf/priority=critical netcfg/choose_interface=auto" >> >> Sorry but I don't know much about virt-install. :( > > the --extra argument is the actual commandline. I have changed the > installation script to include this information. I will test my changes > and post v4 later. Cool, in this case its easy as app doesn't have any other choice but initrd so you can basically just hardcode the commandline but how would it work for fedora? As I pointed out before, the commandlines are assuming the script to be on disk pointed out by 'script-disk' parameter. -- Regards, Zeeshan Ali (Khattak) FSF member#5124 _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo