doc: Add openSUSE

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
This commit is contained in:
Thomas Hipp 2019-02-27 14:11:54 +01:00
parent 016e09c445
commit 8828aef5b5
No known key found for this signature in database
GPG Key ID: 993408D1137B7D51

67
doc/examples/opensuse Normal file
View File

@ -0,0 +1,67 @@
image:
distribution: openSUSE
release: 15.0
description: openSUSE Leap {{ image.release }}
expiry: 30d
architecture: x86_64
source:
downloader: opensuse-http
url: https://download.opensuse.org
keyserver: keyserver.ubuntu.com
keys:
- 0xA193FBB572174FC2
targets:
lxc:
create-message: |
You just created an openSUSE Leap container (release={{ image.release }}, arch={{ image.architecture }})
config:
- type: all
before: 5
content: |-
lxc.include = LXC_TEMPLATE_CONFIG/opensuse.common.conf
- type: user
before: 5
content: |-
lxc.include = LXC_TEMPLATE_CONFIG/opensuse.userns.conf
- type: all
after: 4
content: |-
lxc.include = LXC_TEMPLATE_CONFIG/common.conf
- type: user
after: 4
content: |-
lxc.include = LXC_TEMPLATE_CONFIG/userns.conf
- type: all
content: |-
lxc.arch = {{ image.architecture_kernel }}
files:
- path: /etc/hostname
generator: hostname
- path: /etc/hosts
generator: hosts
packages:
manager: zypper
update: true
cleanup: true
sets:
- packages:
- systemd
- neovim
action: install
environment:
variables:
- key: HOME
value: /root