diff --git a/config.sh b/config.sh index a473a07..7de1831 100644 --- a/config.sh +++ b/config.sh @@ -774,13 +774,19 @@ EOF # ################################################################################ +################################################################################ +# WSL + +# +################################################################################ + cat /dev/null > /etc/machine-id # Gets around grub-bls issue echo "GRUB_DEFAULT=saved" >> /etc/default/grub # All cloud and live -if [[ "$kiwi_profiles" == *"Cloud"* ]] || [[ "$kiwi_profiles" == *"Live"* ]]; then +if [[ "$kiwi_profiles" == *"Cloud"* ]] || [[ "$kiwi_profiles" == *"Live"* ]] || [[ "$kiwi_profiles" == *"WSL"* ]]; then passwd -d root passwd -l root fi @@ -885,3 +891,9 @@ if [[ "$kiwi_profiles" == *"SBC"* ]]; then genericarm_sbc_steps fi fi + +# WSL Only + +if [[ "$kiwi_profiles" == *"WSL"* ]]; then + common_wsl_steps +fi diff --git a/configs/rocky-live-kde.ks b/configs/rocky-live-kde.xml similarity index 100% rename from configs/rocky-live-kde.ks rename to configs/rocky-live-kde.xml diff --git a/configs/rocky-wsl.xml b/configs/rocky-wsl.xml new file mode 100644 index 0000000..4ea0063 --- /dev/null +++ b/configs/rocky-wsl.xml @@ -0,0 +1,25 @@ + + + + + Release Engineering (SIG/Core) + releng@rockylinux.org + Rocky Linux + + + 9 + dnf + en_US + us + UTC + 9 + + + + + + + + + + diff --git a/wsl/default.xml b/wsl/default.xml deleted file mode 100644 index c3a09c3..0000000 --- a/wsl/default.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - - - - diff --git a/wsl/wsl.xml b/wsl/wsl.xml new file mode 100644 index 0000000..c4a0d4b --- /dev/null +++ b/wsl/wsl.xml @@ -0,0 +1,63 @@ + + + + + + + UTC + en_US + false + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +