Skip to content

bitfisher/bootstrap-fedora-coreos-with-redfish-bmc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bootstrap Fedora CoreOS on a bare-metal server using a Redfish BMC

This brief guide will install Fedora CoreOS on a bare-metal server, optionally using a Redfish-compatible BMC (baseboard management controller).

NOTE: The bootstrap process will wipe all data from the bare-metal server!!! ⚠️

Install jq, curl and Docker or Podman. Open Butane file config.bu and customize your username and SSH public key in the passwd.users list. Open a shell at your local host and enter:

sudo -s

# Define the BMC's hostname and its https port (optional)
BMC_HOSTNAME_PORT="redfish-bmc.local"

# Define a hostname or ip address which your BMC can resolve and connect to (optional)
ENDPOINT=$(ip -j route get 1.1.1.1 | jq -r '.[0].prefsrc')

# Define the install destination device
INSTALL_DEVICE=/dev/sda

export BMC_HOSTNAME_PORT ENDPOINT INSTALL_DEVICE

# Launch bootstrapping script and follow instructions on how to mount the CoreOS ISO as virtual media at your BMC
# ATTENTION: All data of your bare-metal server will be wiped, so ensure $BMC_HOSTNAME_PORT is set correctly!
./bootstrap.sh

About

Bootstrap Fedora CoreOS on a bare-metal server using a Redfish BMC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 95.8%
  • Dockerfile 4.2%