commit 420c1c0f1a71aa7eacbff017e58832e0825e83ad
Author: Victor Lowther <victor.lowther@gmail.com>
Date: Tue Nov 3 11:53:01 2020 -0600
fix(machineRepos): Fix missing machine repos in SLedgehammer
If nothing had ever been booted into the a cent 7 install environment,
package-repositories was empty, and the centos-7-install ISO had its
ISO uploaded, then .MachineRepos in SLedghammer would be empty when
running through the task that rewrites the yum config instead of
containing a single entry that points to ourself. Added a couple of
special cases during the bootenv save path and the RerenderEverything
path to address this issue.
M backend/bootenv.go
M backend/dataTracker.go
End of Note