admin switch: Allow switching just remote names
This is a followup to the previous commit; for the installation media case we want to keep the current origin ref, and only switch remotes.
This commit is contained in:
1 parent
24e1bf2552
commit
a864190a04
2 files changed
+21
-6
No files matched your search
@@ -50,3 +50,7 @@ ostree admin --sysroot=sysroot status > status.txt
|
||||
assert_file_has_content status.txt anothertestos
|
||||
|
||||
echo "ok switch remotes"
|
||||
|
||||
ostree admin --sysroot=sysroot switch --os=testos testos:
|
||||
|
||||
echo "ok switch remote only"
|
||||
Reference in new issue
Block a user