diff options
author | Christian Breunig <christian@breunig.cc> | 2025-04-15 21:29:34 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2025-05-17 14:30:45 +0200 |
commit | 74d848a981e25a5a3f563e355ba658ce70acf626 (patch) | |
tree | 3472c9dec02ab05883d315248e47ee1bfeb983de /smoketest/scripts/cli/test_interfaces_openvpn.py | |
parent | 1268ebb05e909027ecf1b9b4af4a6282d944efa7 (diff) | |
download | vyos-1x-74d848a981e25a5a3f563e355ba658ce70acf626.tar.gz vyos-1x-74d848a981e25a5a3f563e355ba658ce70acf626.zip |
image: T1771: save previous image name to upgraded image persistent storage
When performing an image upgrade we will create a file named /config/first_boot
with JSON data inside the new images persistent storage. The content of the file
will look like: {"previous_image": "1.5-stream-2025-Q3"}
The previous image name can be easily queried using "jq -r '.previous_image'".
This is the base work required for an adjusted version of the vyos-router init
script to support an automatic rollback to a previous image if things go
sideways.
Diffstat (limited to 'smoketest/scripts/cli/test_interfaces_openvpn.py')
0 files changed, 0 insertions, 0 deletions