Setting up a Machine
- Download a Fedora image from https://getfedora.org/en/workstation/download/
- Burn to a USB follow the instructions from https://docs.fedoraproject.org/quick-docs/en-US/creating-and-using-a-live-installation-image.html
- Boot from USB by pressing F10 on boot up and selecting your usb device
- Once booted in to Fedora live you should be greeted with an option to install fedora to hard drive.
Select UK Language and click continue
You will then see a screen like this, select “installation destination”
Select the hard drive to install Fedora to.
If the machine previously had an OS on it then we will have to reclaim space, selected automatic and “Make aditional space avaliable”.
Click “delete all” on the bottom right and then “reclaim space”
Next go to “Network and Host Name”. Set the domain to the format fs-desktop-03.freeside.co.uk replacing 03 with an incremental number based off the other machines.
Click done and then set a root password, We will not need to create a user account.
Once completed, restart the machine and remove the USB. You should be greeted with a Fresh install of Fedora.
Now you need to go to a tty using Ctrl+Alt+F2 and login as root.
After this, it is necessary to provision the machine onto the network so as to allow users to log on.
Before you continue, you should ensure that MAC address randomisation is disabled: https://forums.freeside.co.uk/t/how-to-disable-mac-address-randomisation-on-fedora-31/196
This is important because the department need the MAC address to be actually sent when grabbing an IP address via DHCP, as they statically assign us IP addresses based on the MAC address.
The first step to this is to configure the free-ipa client; instructions on this can be found at https://forums.freeside.co.uk/t/freeipa-identity-management-system/36/2.
Once that’s done, you’ll likely run into mounting issues; this was previously solved using
sudo setsebool -P use_nfs_home_dirs=on, so try this.
Following this, you need to setup fabric. The readme for https://github.com/FreesideHull/Freeside-Fabfiles gives details on this.