lorax-composer: Use reqpart --add-boot for partitioned disk templates
Some platforms, like ppc64, require that the /boot partition be present. It doesn't hurt to have it there on other platforms so instead of trying to add per-arch kickstart templates just use reqpart --add-boot everywhere. Related: rhbz#1673744
This commit is contained in:
parent
776bb18cee
commit
8c94ee6ba1
@ -1,8 +1,5 @@
|
||||
# Lorax Composer AMI output kickstart template
|
||||
|
||||
# Add a separate /boot partition
|
||||
part /boot --size=1024
|
||||
|
||||
# Firewall configuration
|
||||
firewall --enabled
|
||||
|
||||
@ -24,7 +21,7 @@ timezone US/Eastern
|
||||
# System bootloader configuration
|
||||
bootloader --location=mbr --append="no_timer_check console=ttyS0,115200n8 console=tty1 net.ifnames=0"
|
||||
# Add platform specific partitions
|
||||
reqpart
|
||||
reqpart --add-boot
|
||||
|
||||
# Basic services
|
||||
services --enabled=sshd,chronyd,cloud-init
|
||||
|
@ -21,7 +21,7 @@ timezone US/Eastern
|
||||
# System bootloader configuration
|
||||
bootloader --location=mbr --append="no_timer_check console=ttyS0,115200n8 console=tty1 net.ifnames=0"
|
||||
# Add platform specific partitions
|
||||
reqpart
|
||||
reqpart --add-boot
|
||||
|
||||
# Start sshd and cloud-init at boot time
|
||||
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||
|
@ -21,7 +21,7 @@ timezone US/Eastern
|
||||
# System bootloader configuration
|
||||
bootloader --location=mbr
|
||||
# Add platform specific partitions
|
||||
reqpart
|
||||
reqpart --add-boot
|
||||
|
||||
%post
|
||||
# Remove random-seed
|
||||
|
@ -21,7 +21,7 @@ timezone US/Eastern
|
||||
# System bootloader configuration
|
||||
bootloader --location=mbr
|
||||
# Add platform specific partitions
|
||||
reqpart
|
||||
reqpart --add-boot
|
||||
|
||||
%post
|
||||
# Remove random-seed
|
||||
|
@ -1,8 +1,5 @@
|
||||
# Lorax Composer VHD (Azure, Hyper-V) output kickstart template
|
||||
|
||||
# Add a separate /boot partition
|
||||
part /boot --size=1024
|
||||
|
||||
# Firewall configuration
|
||||
firewall --enabled
|
||||
|
||||
@ -24,7 +21,7 @@ timezone US/Eastern
|
||||
# System bootloader configuration
|
||||
bootloader --location=mbr --append="no_timer_check console=ttyS0,115200n8 earlyprintk=ttyS0,115200 rootdelay=300 net.ifnames=0"
|
||||
# Add platform specific partitions
|
||||
reqpart
|
||||
reqpart --add-boot
|
||||
|
||||
# Basic services
|
||||
services --enabled=sshd,chronyd,waagent
|
||||
|
@ -21,7 +21,7 @@ timezone US/Eastern
|
||||
# System bootloader configuration
|
||||
bootloader --location=mbr
|
||||
# Add platform specific partitions
|
||||
reqpart
|
||||
reqpart --add-boot
|
||||
|
||||
# Basic services
|
||||
services --enabled=sshd,chronyd,vmtoolsd
|
||||
|
Loading…
Reference in New Issue
Block a user