3df563acc4
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
69 lines
1.2 KiB
Plaintext
69 lines
1.2 KiB
Plaintext
image:
|
|
distribution: gentoo
|
|
description: Gentoo
|
|
expiry: 30d
|
|
architecture: amd64
|
|
|
|
source:
|
|
downloader: gentoo-http
|
|
url: http://distfiles.gentoo.org
|
|
keys:
|
|
- 13EBBDBEDE7A12775DFDB1BABB572E0E2D182910
|
|
|
|
targets:
|
|
lxc:
|
|
create-message: |
|
|
You just created a Gentoo container (arch={{ image.architecture }})
|
|
|
|
config:
|
|
- type: all
|
|
before: 5
|
|
content: |-
|
|
lxc.include = LXC_TEMPLATE_CONFIG/gentoo.common.conf
|
|
|
|
- type: user
|
|
before: 5
|
|
content: |-
|
|
lxc.include = LXC_TEMPLATE_CONFIG/gentoo.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: portage
|
|
|
|
update: true
|
|
cleanup: true
|
|
|
|
sets:
|
|
- packages:
|
|
- neovim
|
|
action: install
|
|
|
|
actions:
|
|
- trigger: post-packages
|
|
action: |-
|
|
#!/bin/sh
|
|
rm -rf /usr/portage/
|
|
|
|
mappings:
|
|
architecture_map: debian
|