8b4dc01d8b
Signed-off-by: Mikhail Gordeev <obirvalger@altlinux.org>
76 lines
1.4 KiB
Plaintext
76 lines
1.4 KiB
Plaintext
image:
|
|
distribution: ALT Linux
|
|
release: Sisyphus
|
|
description: ALT Linux {{ image.release }}
|
|
expiry: 30d
|
|
architecture: x86_64
|
|
|
|
source:
|
|
downloader: alt-http
|
|
url: http://ftp.altlinux.org
|
|
keyserver: keyserver.ubuntu.com
|
|
keys:
|
|
- 0x17F112840DE94827C9C109FD3E2B30EA57EF33CE
|
|
|
|
targets:
|
|
lxc:
|
|
create-message: |
|
|
You just created an {{ image.distribution }} container (release={{ image.release }}, arch={{ image.architecture }})
|
|
|
|
config:
|
|
- type: all
|
|
before: 5
|
|
content: |-
|
|
lxc.include = LXC_TEMPLATE_CONFIG/alt.common.conf
|
|
|
|
- type: user
|
|
before: 5
|
|
content: |-
|
|
lxc.include = LXC_TEMPLATE_CONFIG/alt.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
|
|
|
|
- path: /etc/systemd/network/eth0.network
|
|
generator: dump
|
|
content: |-
|
|
[Match]
|
|
Name=eth0
|
|
|
|
[Network]
|
|
DHCP=ipv4
|
|
|
|
packages:
|
|
manager: apt_rpm
|
|
|
|
update: true
|
|
cleanup: true
|
|
|
|
sets:
|
|
- packages:
|
|
- vim-console
|
|
action: install
|
|
|
|
environment:
|
|
variables:
|
|
- key: HOME
|
|
value: /root
|