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:
Colin Walters committed 2014-05-15 08:58:44 -04:00
1 parent 24e1bf2552
commit a864190a04
2 files changed
+21 -6

No files matched your search

+4
View File
@@ -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"