doc: Add openSUSE
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
This commit is contained in:
parent
016e09c445
commit
8828aef5b5
67
doc/examples/opensuse
Normal file
67
doc/examples/opensuse
Normal 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
|
Loading…
x
Reference in New Issue
Block a user