mirror of
				https://pagure.io/fedora-kickstarts.git
				synced 2025-10-31 07:15:59 +00:00 
			
		
		
		
	CLOUD: fix up the kickstart to make the world happy
This commit is contained in:
		
							parent
							
								
									d4b5366a57
								
							
						
					
					
						commit
						e8bbd2f00b
					
				| @ -18,14 +18,14 @@ timezone --utc Etc/UTC | |||||||
| 
 | 
 | ||||||
| auth --useshadow --enablemd5 | auth --useshadow --enablemd5 | ||||||
| selinux --enforcing | selinux --enforcing | ||||||
| rootpw --lock | rootpw --lock --iscrypted locked | ||||||
| user --name=dummy --password=none --plaintext  | user --name=none | ||||||
| 
 | 
 | ||||||
| firewall --disabled | firewall --disabled | ||||||
| 
 | 
 | ||||||
| bootloader --timeout=1 --append="console=tty1 console=ttyS0,115200n8" extlinux | bootloader --timeout=1 --append="console=tty1 console=ttyS0,115200n8" extlinux | ||||||
| 
 | 
 | ||||||
| network --bootproto=dhcp --device=ens3 --activate --onboot=on | network --bootproto=dhcp --device=eth0 --activate --onboot=on | ||||||
| services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final | services --enabled=network,sshd,rsyslog,cloud-init,cloud-init-local,cloud-config,cloud-final | ||||||
| 
 | 
 | ||||||
| zerombr | zerombr | ||||||
| @ -108,6 +108,8 @@ ln -sf /boot/grub/grub.conf /etc/grub.conf | |||||||
| # older versions of livecd-tools do not follow "rootpw --lock" line above | # older versions of livecd-tools do not follow "rootpw --lock" line above | ||||||
| # https://bugzilla.redhat.com/show_bug.cgi?id=964299 | # https://bugzilla.redhat.com/show_bug.cgi?id=964299 | ||||||
| passwd -l root | passwd -l root | ||||||
|  | # remove the user anaconda forces us to make | ||||||
|  | userdel -r none | ||||||
| 
 | 
 | ||||||
| # Kickstart specifies timeout in seconds; syslinux uses 10ths. | # Kickstart specifies timeout in seconds; syslinux uses 10ths. | ||||||
| # 0 means wait forever, so instead we'll go with 1. | # 0 means wait forever, so instead we'll go with 1. | ||||||
| @ -221,9 +223,6 @@ chattr -i /boot/extlinux/ldlinux.sys | |||||||
| /usr/sbin/fixfiles -R -a restore | /usr/sbin/fixfiles -R -a restore | ||||||
| chattr +i /boot/extlinux/ldlinux.sys | chattr +i /boot/extlinux/ldlinux.sys | ||||||
| 
 | 
 | ||||||
| userdel dummy |  | ||||||
| rm -rf /home/dummy |  | ||||||
| 
 |  | ||||||
| echo "Zeroing out empty space." | echo "Zeroing out empty space." | ||||||
| # This forces the filesystem to reclaim space from deleted files | # This forces the filesystem to reclaim space from deleted files | ||||||
| dd bs=1M if=/dev/zero of=/var/tmp/zeros || : | dd bs=1M if=/dev/zero of=/var/tmp/zeros || : | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user