Installed F42 Workstation on F40 gnome-boxes

I thought the installation was smooth.

Edit: specifically Fedora-Workstation-Live-42-1.1.x86_64.iso

I did notice I was blocked from copying the URL. I had to manually enter it.
The switch from live was a little difficult to spot–it was so fast this is likely a compliment.
Final comment–I miss the ability to create users and set the root password during the install. Is that hidden somewhere too–is there a secret!!!

With Kickstart you can fully automate VM deployment:

tee ks.cfg << EOI > /dev/null
keyboard --vckeymap us --xlayouts us
lang ${LANG}
timezone --utc $(timedatectl show --value --property Timezone)
clearpart --all
part --fstype efi --size $((2**10)) /boot/efi
part --fstype ext4 --grow /
network --hostname fedora
rootpw --lock
user --name ${USER} --groups wheel
sshkey --username ${USER} "$(cat ${HOME}/.ssh/id_ed25519.pub)"
reboot
%packages
@^workstation-product-environment
%end
EOI

virt-install \
--name fedora \
--osinfo fedora-rawhide \
--autoconsole none \
--vcpus $(nproc) \
--memory $((2**12)) \
--disk size=$((2**4)),bus=virtio \
--boot uefi \
--location ${FEDORA_NETINST_ISO} \
--initrd-inject ks.cfg \
--extra-args inst.ks=file:/ks.cfg

See also:

1 Like

I used to use kickstart and had had completely forgotten about it. Thank you very much.

This is going to sound stupid but I simply enjoyed being able to configure users while the instll ran in parallel. I thought it was fun.

2 Likes

You can also use the Fedora Cloud images with cloud-init.

Keep in mind that Fedora 40 will be end of life very soon.

1 Like