Last active
October 3, 2016 12:46
-
-
Save Vultour/4a01ec29ad818928200c2c5bb450a0e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install with: | |
# virt-install --graphics vnc --name test-1 --memory 2048 --disk machines/test-1.img,size=5 --location http://mirrors.clouvider.net/CentOS/7/os/x86_64/ -x "ks=THIS-KICKSTART_URL" | |
install | |
cdrom | |
lang en_US.UTF-8 | |
keyboard us-acentos | |
network --device eth0 --bootproto dhcp | |
# password = password | |
rootpw --iscrypted $1$nRuazCWk$gUSUI.shpjrhm2fWgrEwY0 | |
firewall --disabled | |
authconfig --enableshadow --enablemd5 | |
selinux --disabled | |
timezone --utc UTC | |
bootloader --location=mbr --driveorder=hda | |
url --url=http://mirrors.clouvider.net/CentOS/7/os/x86_64/ | |
# The following is the partition information you requested | |
# Note that any partitions you deleted are not expressed | |
# here so unless you clear all partitions first, this is | |
# not guaranteed to work | |
clearpart --all --initlabel --drives=vda | |
part /boot --fstype ext3 --size=100 --ondisk=vda | |
part pv.2 --size=0 --grow --ondisk=vda | |
volgroup VolGroup00 --pesize=32768 pv.2 | |
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow | |
%packages --nobase | |
%end | |
# Determine what to do at the end of the installation phase. | |
poweroff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment