Skip to content

Commit ea915f1

Browse files
Jeanne Ohrendenniswalker
Jeanne Ohren
authored andcommitted
CASMINST-3120: Fix cray-site-init installation and typescript logging prior to booting the LiveCD
1 parent 4c8132b commit ea915f1

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

install/bootstrap_livecd_usb.md

+12-5
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ Fetch the base installation CSM tarball and extract it, installing the contained
2929
1. Set up the Typescript directory as well as the initial typescript. This directory will be returned to for every typescript in the entire CSM installation.
3030

3131
```bash
32-
linux# mkdir -p /var/www/ephemeral/prep/admin
33-
linux# pushd !$
32+
linux# cd ~
3433
linux# script -af csm-install-usb.$(date +%Y-%m-%d).txt
3534
linux# export PS1='\u@\H \D{%Y-%m-%d} \t \w # '
3635
```
@@ -40,6 +39,8 @@ Fetch the base installation CSM tarball and extract it, installing the contained
4039
**Important:** To ensure that the CSM release plus any patches, workarounds, or hotfixes are included
4140
follow the instructions in [Update CSM Product Stream](../update_product_stream/index.md)
4241

42+
**Important:** Download to a location that has sufficient space for both the tarball and the expanded tarball.
43+
4344
The rest of this procedure will use the CSM_RELEASE variable and expect to have the
4445
contents of the CSM software release tarball plus any patches, workarounds, or hotfixes.
4546

@@ -56,7 +57,7 @@ Fetch the base installation CSM tarball and extract it, installing the contained
5657
1. Install/upgrade the CSI RPM
5758

5859
```bash
59-
linux# rpm -Uvh --force ${CSM_PATH}/rpm/cray/csm/sle-15sp2/x86_64/cray-site-init-*.x86_64.rpm
60+
linux# rpm -Uvh --force $(find ${CSM_PATH}/rpm/cray/csm/ -name "cray-site-init-*.x86_64.rpm" | sort -V | tail -1)
6061
```
6162

6263
1. Download and install/upgrade the workaround and documentation RPMs. If this machine does not have direct internet
@@ -545,14 +546,20 @@ This will enable SSH, and other services when the LiveCD starts.
545546
storage-ceph-0.0.5.squashfs-----------------------> /mnt/pitdata/data/ceph/...OK
546547
```
547548
549+
1. Quit the typescript session with the `exit` command and copy the file (csm-install-usb.<date>.txt) to the data partition on the USB drive.
550+
551+
```bash
552+
linux# mkdir -pv /mnt/pitdata/prep/logs
553+
linux# exit
554+
linux# cp ~/csm-install-usb.*.txt /mnt/pitdata/prep/logs
555+
```
556+
548557
1. Unmount the data partition:
549558
550559
```bash
551560
linux# cd; umount -v /mnt/pitdata
552561
```
553562
554-
1. Quit the typescript session with the `exit` command and copy the file (csm-install-usb.<date>.txt) to a location on another server for reference later.
555-
556563
Now the USB device may be reattached to the management node, or if it was made on the management node then it can now
557564
reboot into the LiveCD.
558565

0 commit comments

Comments
 (0)