LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 07-23-2018, 09:54 PM   #1
KarolDworak
Member
 
Registered: Jun 2018
Posts: 32

Rep: Reputation: Disabled
Trouble with Kickstart when using virt-install


I am using virt-install with a kickstart file, the install starts everytime but prompts for language with a graphical interface. My kickstart file calls for text install and has a language line... It seems as tho the kickstart file isnt being used at all in when the install starts.

Code:
virt-install --name=tester1.example.com --ram=2064 --vcpus=2 --disk path=/var/lib/libvirt/images/tester1.example.com.img,size=13 --location=http://192.168.122.1/install/ --extra-args=ftp://192.168.122.1/pub/serverks.cfg --os-type=linux
Code:
#version=DEVEL
# System authorization information
auth --enableshadow --passalgo=sha512
# Use CDROM installation media or Network addy
url --url http://192.168.122.1/install
# Use graphical install or a text install
text
skipx
# Run the Setup Agent on first boot
firstboot --disable
ignoredisk --only-use=vda
# Keyboard layouts
keyboard --vckeymap=us
# System language
lang en_US

# Network information

network --bootproto static --device=eth0 gateway=192.168.100.1 --ip=192.168.100.50 --netmask=255.255.255.0 --noipv6 --nameserver=192.168.100.1 --activate network --hostname=tester1.example.com

# Root password
rootpw --iscrypted $6sd
# System services
services --disabled="chronyd"
# System timezone
timezone America/Phoenix --nontp
#SELinux
selinux --enforcing
# System bootloader configuration
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=vda
autopart --type=lvm  
# Partition clearing information
clearpart --all --initlabel --drives=vda
#Partitions

reboot

%packages
@base
@core
kexec-tools

%end

%addon com_redhat_kdump --enable --reserve-mb='auto'

%end

%anaconda
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
%end
SeLinux below
Code:
# ls -Z /var/ftp/pub/
-rw-r--r--. root       root       unconfined_u:object_r:public_content_t:s0 serverks.cfg
Thank you for your time.
 
Old 07-24-2018, 12:15 AM   #2
KarolDworak
Member
 
Registered: Jun 2018
Posts: 32

Original Poster
Rep: Reputation: Disabled
Found my problem, missing 'ks=' from my -x option in the virt-install command tree.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Virsh/Virt-Manager/Virt-Install broken after upgrade to Xubuntu 17.10 Zabzoo Linux - Desktop 2 02-01-2018 08:05 AM
[SOLVED] Unable to install Linux(Centos) on virtual machine using virt-install --prompt shazgaurav Linux - Newbie 9 12-15-2013 11:41 AM
[SOLVED] Trouble with kickstart file's post script section FatKang Red Hat 2 11-30-2012 09:41 AM
LXer: Hacking libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 on top of Ubunt LXer Syndicated Linux News 0 05-06-2010 02:50 PM
LXer: Virt-install&Virt-manager at Xen 4.0-rc8 (2.6.32.10 pvops) Dom0 on top Ubuntu K LXer Syndicated Linux News 0 03-26-2010 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 08:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration