Pasttle

Showing differences between #13 and #14

Edit as new paste

Get the raw version

Compare to previous version

--- Paste #13

+++ Paste #14

@@ -1,12 +1,11 @@

 #version=RHEL8
 ignoredisk --only-use=sda
 # System bootloader configuration
-bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda
-autopart --type=lvm
+bootloader --append=" crashkernel=auto console=tty0 console=ttyS1,115200n8" --location=mbr --boot-drive=sda
 # Partition clearing information
 clearpart --all --initlabel --drives=sda
 # Use graphical install
-graphical
+text
 # Use CDROM installation media
 cdrom
 # Keyboard layouts
@@ -24,13 +23,17 @@

 # Root password
 rootpw --iscrypted $6$y06lzJ98bwmIiB5i$tYIyCOczZwT9Bdul2zyoKd5YUjKVfgV.JyKmLK4tfDwLVhMrxQfmKKLPjAMxA9AfHQ7mf72M2vaCmMkH3lVEl.
 # Run the Setup Agent on first boot
-firstboot --enable
+firstboot --disable
 # Do not configure the X Window System
 skipx
 # System services
 services --enabled="chronyd"
 # System timezone
-timezone Etc/GMT --isUtc
+timezone Etc/GMT --isUtc --ntpservers=0.europe.pool.ntp.org,1.europe.pool.ntp.org
+# Disk partitioning information
+part /boot --fstype="ext2" --label=boot --ondisk=sda --size=1024
+part / --fstype="ext4" --label=root --ondisk=sda --size=51200
+part /var --fstype="ext4" --label=var --ondisk=sda --grow
 
 %packages
 @^minimal-environment
@@ -47,3 +50,9 @@

 pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
 pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
 %end
+
+%post --log=/root/ks-post.log
+yum -y install https://packages.distributed-ci.io/dci-release.el7.noarch.rpm
+yum -y update
+yum -y install dci-sshpubkeys
+%end