fickit: New script to upgrade backend without reboot
This commit is contained in:
parent
9d87f70bc8
commit
9dbf34f4d3
2 changed files with 44 additions and 0 deletions
11
configs/update-backend.sh
Executable file
11
configs/update-backend.sh
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
IP_BACKEND=192.168.3.92
|
||||
IMG_BACKEND=fickit-backend-squashfs.img
|
||||
IMG_METADATA=fickit-metadata.iso
|
||||
|
||||
echo "Sending image..."
|
||||
rsync -v -e ssh "${IMG_BACKEND}" "${IMG_METADATA}" "root@${IP_BACKEND}:/var/lib/fic/outofsync/" || exit 1
|
||||
|
||||
echo "Done!"
|
||||
echo "Now, execute upgrade_image on backend, through iDRAC interface."
|
||||
Reference in a new issue