Procedure summary

To run MicroShift on a disconnected host, the following steps are required:

Prepare the host
  • Stop MicroShift if it is currently running and clean up changes the service has made to the network.

  • Set a persistent hostname.

  • Add a “fake” IP address on the loopback interface.

  • Configure DNS to use the fake IP as local name server.

  • Add an entry for the hostname to /etc/hosts.

Update the MicroShift configuration
  • Define the nodeIP parameter as the new loopback IP address.

  • Set the .node.hostnameOverride parameter to the persistent hostname.

For the changes to take effect
  • Disable the default NIC if attached.

  • Restart the host or device.

After starting, MicroShift runs using the loopback device for intra-node communication.