aboutsummaryrefslogtreecommitdiff
path: root/config.sh
diff options
from:
to:
context:
space:
mode:
authorGravatar Neal Gompa <ngompa@fedoraproject.org> 2024-10-17 17:17:06 -0400
committerGravatar ngompa <ngompa13@gmail.com> 2024-11-13 18:30:06 +0000
commit400c842f0a85a87d767f736f153d607d07cf1311 (patch)
treedf6fb4e75c67f5ae7ea4fe071d52fc52633691c7 /config.sh
parentc50ee8707d282167f826215745ffdc6b50601526 (diff)
downloadkiwi-descriptions-400c842f0a85a87d767f736f153d607d07cf1311.tar.gz
kiwi-descriptions-400c842f0a85a87d767f736f153d607d07cf1311.zip
Add Fedora Server generic guest and host image descriptions
This is loosely based on the Server kickstart and ELN descriptions. This covers both the disk image for running on ARM hardware as well as the VM image for running on various hypervisor platforms.
Diffstat (limited to 'config.sh')
-rwxr-xr-xconfig.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.sh b/config.sh
index 800247b..d169c98 100755
--- a/config.sh
+++ b/config.sh
@@ -132,6 +132,13 @@ if [[ "$kiwi_profiles" == *"Disk"* ]]; then
fi
fi
+if [[ "$kiwi_profiles" == *"Server"* ]]; then
+ # Trigger lvm-devices-import.path and .service to create
+ # a new /etc/lvm/devices/system.devices for the root VG.
+ rm -f /etc/lvm/devices/system.devices
+ touch /etc/lvm/devices/auto-import-rootvg
+fi
+
if [[ "$kiwi_profiles" == *"Azure"* ]]; then
cat > /etc/ssh/sshd_config.d/50-client-alive-interval.conf << EOF
ClientAliveInterval 120