Created
May 2, 2020 16:00
-
-
Save z2z/cde037875c41f433c073887b9d8d81ae to your computer and use it in GitHub Desktop.
centos 7 bare minimal - hyper-v
This file contains hidden or 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
#https://bugs.centos.org/view.php?id=7388 | |
#https://forums.centos.org/viewtopic.php?t=47262 | |
#### Here is my kickstart script #### | |
text | |
skipx | |
install | |
lang en_US.UTF-8 | |
keyboard us | |
timezone America/Los_Angeles | |
auth --useshadow --enablemd5 | |
selinux --enforcing | |
firewall --enabled --ssh | |
bootloader --location=mbr | |
zerombr | |
clearpart --all --initlabel | |
part / --ondisk=xvda --fstype=xfs --grow --size=1 | |
rootpw --iscrypted [password hash] | |
user --name=gene --groups=wheel --homedir=/home/gene --iscrypted --password=[password hash] --shell=/bin/bash --uid=666 | |
url --url http://<hostname>/centos/7/os/x86_64/ | |
repo --name=updates --baseurl=http://<hostname>/centos/7/updates/x86_64/ | |
shutdown | |
%packages --nobase | |
@core --nodefaults | |
-aic94xx-firmware* | |
-alsa-* | |
-biosdevname | |
-btrfs-progs* | |
-dhclient | |
-dhcp* | |
-dracut-network | |
-iprutils | |
-ivtv* | |
-iwl*firmware | |
-libertas* | |
-kexec-tools | |
-NetworkManager* | |
-plymouth* | |
-postfix | |
%end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment