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.
This commit is contained in:
parent
b47554d716
commit
a0ff34dcb1
@ -1,8 +1,5 @@
|
|||||||
# Lorax Composer AMI output kickstart template
|
# Lorax Composer AMI output kickstart template
|
||||||
|
|
||||||
# Add a separate /boot partition
|
|
||||||
part /boot --size=1024
|
|
||||||
|
|
||||||
# Firewall configuration
|
# Firewall configuration
|
||||||
firewall --enabled
|
firewall --enabled
|
||||||
|
|
||||||
@ -24,7 +21,7 @@ timezone US/Eastern
|
|||||||
# System bootloader configuration
|
# System bootloader configuration
|
||||||
bootloader --location=mbr --append="no_timer_check console=ttyS0,115200n8 console=tty1 net.ifnames=0"
|
bootloader --location=mbr --append="no_timer_check console=ttyS0,115200n8 console=tty1 net.ifnames=0"
|
||||||
# Add platform specific partitions
|
# Add platform specific partitions
|
||||||
reqpart
|
reqpart --add-boot
|
||||||
|
|
||||||
# Basic services
|
# Basic services
|
||||||
services --enabled=sshd,chronyd,cloud-init
|
services --enabled=sshd,chronyd,cloud-init
|
||||||
|
@ -21,7 +21,7 @@ timezone US/Eastern
|
|||||||
# System bootloader configuration
|
# System bootloader configuration
|
||||||
bootloader --location=mbr --append="no_timer_check console=ttyS0,115200n8 console=tty1 net.ifnames=0"
|
bootloader --location=mbr --append="no_timer_check console=ttyS0,115200n8 console=tty1 net.ifnames=0"
|
||||||
# Add platform specific partitions
|
# Add platform specific partitions
|
||||||
reqpart
|
reqpart --add-boot
|
||||||
|
|
||||||
# Start sshd and cloud-init at boot time
|
# Start sshd and cloud-init at boot time
|
||||||
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||||
|
@ -21,7 +21,7 @@ timezone US/Eastern
|
|||||||
# System bootloader configuration
|
# System bootloader configuration
|
||||||
bootloader --location=mbr
|
bootloader --location=mbr
|
||||||
# Add platform specific partitions
|
# Add platform specific partitions
|
||||||
reqpart
|
reqpart --add-boot
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# Remove random-seed
|
# Remove random-seed
|
||||||
|
@ -21,7 +21,7 @@ timezone US/Eastern
|
|||||||
# System bootloader configuration
|
# System bootloader configuration
|
||||||
bootloader --location=mbr
|
bootloader --location=mbr
|
||||||
# Add platform specific partitions
|
# Add platform specific partitions
|
||||||
reqpart
|
reqpart --add-boot
|
||||||
|
|
||||||
%post
|
%post
|
||||||
# Remove random-seed
|
# Remove random-seed
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
# Lorax Composer VHD (Azure, Hyper-V) output kickstart template
|
# Lorax Composer VHD (Azure, Hyper-V) output kickstart template
|
||||||
|
|
||||||
# Add a separate /boot partition
|
|
||||||
part /boot --size=1024
|
|
||||||
|
|
||||||
# Firewall configuration
|
# Firewall configuration
|
||||||
firewall --enabled
|
firewall --enabled
|
||||||
|
|
||||||
@ -24,7 +21,7 @@ timezone US/Eastern
|
|||||||
# System bootloader configuration
|
# System bootloader configuration
|
||||||
bootloader --location=mbr --append="no_timer_check console=ttyS0,115200n8 earlyprintk=ttyS0,115200 rootdelay=300 net.ifnames=0"
|
bootloader --location=mbr --append="no_timer_check console=ttyS0,115200n8 earlyprintk=ttyS0,115200 rootdelay=300 net.ifnames=0"
|
||||||
# Add platform specific partitions
|
# Add platform specific partitions
|
||||||
reqpart
|
reqpart --add-boot
|
||||||
|
|
||||||
# Basic services
|
# Basic services
|
||||||
services --enabled=sshd,chronyd,waagent
|
services --enabled=sshd,chronyd,waagent
|
||||||
|
@ -21,7 +21,7 @@ timezone US/Eastern
|
|||||||
# System bootloader configuration
|
# System bootloader configuration
|
||||||
bootloader --location=mbr
|
bootloader --location=mbr
|
||||||
# Add platform specific partitions
|
# Add platform specific partitions
|
||||||
reqpart
|
reqpart --add-boot
|
||||||
|
|
||||||
# Basic services
|
# Basic services
|
||||||
services --enabled=sshd,chronyd,vmtoolsd
|
services --enabled=sshd,chronyd,vmtoolsd
|
||||||
|
Loading…
Reference in New Issue
Block a user