The translation is temporarily closed for contributions due to maintenance, please come back later.
English
Rebasing to New Versions
The `rpm-ostree rebase` command allows you to switch between multiple branches. The `ostree remote` command allows you to view and change repository options.
Listing Remote Repositories
The `ostree remote` command has several options:
$ ostree remote --help
Usage:
ostree remote [OPTION…] COMMAND
Remote commands that may involve internet access
Builtin "remote" Commands:
add Add a remote repository
delete Delete a remote repository
show-url Show remote repository URL
list List remote repository names
gpg-import Import GPG keys
add-cookie Add a cookie to remote
delete-cookie Remove one cookie from remote
list-cookies Show remote repository cookies
refs List remote refs
summary Show remote summary
Help Options:
-h, --help Show help options
Application Options:
-v, --verbose Print debug information during command processing
--version Print version information and exit
List remote repository names:
$ ostree remote list
fedora-iot
Show the remote URL:
$ ostree remote show-url fedora-iot
https://ostree.fedoraproject.org/iot
List the remote reference branches:
$ ostree remote refs fedora-iot
fedora-iot:fedora/stable/aarch64/iot
fedora-iot:fedora/stable/armhfp/iot
fedora-iot:fedora/stable/x86_64/iot
fedora-iot:fedora/devel/aarch64/iot
fedora-iot:fedora/devel/armhfp/iot
fedora-iot:fedora/devel/x86_64/iot
fedora-iot:fedora/rawhide/aarch64/iot
fedora-iot:fedora/rawhide/armhfp/iot
fedora-iot:fedora/rawhide/x86_64/iot
Adding and Removing Remote Repositories
The ostree remote repository configuration files are located in the `/etc/ostree/remotes.d` directory.
$ cat /etc/ostree/remotes.d/fedora-iot.conf
[remote "fedora-iot"]
url=https://ostree.fedoraproject.org/iot
gpg-verify=true
gpgkeypath=/etc/pki/rpm-gpg/
contenturl=mirrorlist=https://ostree.fedoraproject.org/iot/mirrorlist
The first line specifies the name of the remote that will be shown with `ostree remote list`. The additional lines are in the format of 'KEY=VALUE'.
To add a remote repository use the `ostree remote add` command: