Configure Zypper repositoriesΒΆ
This example shows how to configure a Zypper repository. For a full list of keys, refer to the Zypper add repo module schema.
1#cloud-config
2zypper:
3 config: {download.use_deltarpm: true, reposdir: /etc/zypp/repos.dir, servicesdir: /etc/zypp/services.d}
4 repos:
5 - {autorefresh: 1, baseurl: 'http://dl.opensuse.org/dist/leap/v/repo/oss/', enabled: 1,
6 id: opensuse-oss, name: os-oss}
7 - {baseurl: 'http://dl.opensuse.org/dist/leap/v/update', id: opensuse-oss-update,
8 name: os-oss-up}