Skip to content

Builds images for new sites BRU05, MEX01, MTY01 and PRG06

Compare
Choose a tag to compare
@nkinkade nkinkade released this 26 May 21:18
5cfc8df
Generic update images + new script to update USB flash drives (#179)

* Renames stage3_mlxupdate to stage3_update, since it will not both update the Mellanox NICs as well as updating USB flash drives.

* Adds a kernel parameter to the update ISO with a URL to the USB ISO for the node.

* Adds a small script to fetch a stage1 USB ISO image and write it to the flash drive.

* Removes the reboot step from the usbupdate.sh script. It will be handled by epoxy_client.

* Copies the updateusb.sh script into the update ISO filesystem.

* Removes trying to add a kernel arg to the update ISO, since we don't even use those.

* Constructs the ISO URL using the value of the epoxy.project kernel parameter. Fixes possible unbound variable issues.

* Adds package util-linux to stage3_update to get the blkid command. Also alphabetizes list of extra packages to install.

* Removes installation of util-linux since it is apparently installed by default. Uses an absolute path to blkid instead.

* Adds the --no-verbose flag to wget so that it doesn't pollute the console will unnecessary logs about download progress.

* Adds a new action for flashing USB drives.

* Removes a couple of outdate comments.

* Adds several safety and error checking bits to updateusb.sh.

* Adds _mlx suffix to stage3post file to distinguish it from USB updates.

* Adds set -e to the updateusb.sh script.

* Removes the create_update_iso.sh file, as it is no longer used for anything.

* Constructs a new kernel param epoxy.usbiso which will contain the URL to the stage1 ISO in GCS.

* Now that the stage1 URL will be passed in via a kernel param, get it from there rather than constructing it in the updateusb.sh script.

* Removes setup_stage1_usbs.sh, since it is no longer used, and removes references to it from builder.sh.

* Passed the ISO URL into the script as an argument. Fixes an outdated reference to wget.

* Some small improvements to updateusb.sh. Uses 'basename' for ISO filename. Comment on openssl usage. Better error mesg if ISO URL arg is missing.

* Takes updateusb.sh command out of nested array, and removes the reboot 'arg', which wasn't doing anything anyway.