Add element to handle generic package installs
We end up needing to install a fair bit of stuff on top of the minimal images in order to make them useable. Do this in a generic infra package needs element that can grow to accomodate our needs. For the future we can hopefully get some of this into dib itself so that others can easily build instances they can ssh into. Change-Id: I5826df829971e182cd0713b29df1cf70c119a0ab
This commit is contained in:
parent
1d82e07b2b
commit
53cd995cf6
1
nodepool/elements/infra-package-needs/element-deps
Normal file
1
nodepool/elements/infra-package-needs/element-deps
Normal file
@ -0,0 +1 @@
|
||||
package-installs
|
@ -0,0 +1,8 @@
|
||||
coreutils:
|
||||
cron:
|
||||
util-linux:
|
||||
openssh-server:
|
||||
build-essential:
|
||||
python-dev:
|
||||
python3-dev:
|
||||
uuid-runtime:
|
16
nodepool/elements/infra-package-needs/pkg-map
Normal file
16
nodepool/elements/infra-package-needs/pkg-map
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"distro": {
|
||||
"fedora": {
|
||||
"python3-dev": "python3-devel"
|
||||
}
|
||||
},
|
||||
"family": {
|
||||
"redhat": {
|
||||
"cron": "cronie",
|
||||
"build-essential": "glibc-devel gcc make",
|
||||
"python-dev": "python-devel",
|
||||
"python3-dev": "",
|
||||
"uuid-runtime": ""
|
||||
}
|
||||
}
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
build-essential:
|
||||
python-dev:
|
||||
python3-dev:
|
@ -615,6 +615,7 @@ diskimages:
|
||||
- node-devstack
|
||||
- cache-bindep
|
||||
- growroot
|
||||
- infra-package-needs
|
||||
release: jessie
|
||||
env-vars:
|
||||
TMPDIR: /opt/dib_tmp
|
||||
@ -631,6 +632,7 @@ diskimages:
|
||||
- node-devstack
|
||||
- cache-bindep
|
||||
- growroot
|
||||
- infra-package-needs
|
||||
release: trusty
|
||||
env-vars:
|
||||
TMPDIR: /opt/dib_tmp
|
||||
@ -645,6 +647,7 @@ diskimages:
|
||||
- nodepool-base
|
||||
- node-devstack
|
||||
- cache-bindep
|
||||
- infra-package-needs
|
||||
release: trusty
|
||||
env-vars:
|
||||
TMPDIR: /opt/dib_tmp
|
||||
@ -660,6 +663,7 @@ diskimages:
|
||||
- nodepool-base
|
||||
- node-devstack
|
||||
- cache-bindep
|
||||
- infra-package-needs
|
||||
env-vars:
|
||||
TMPDIR: /opt/dib_tmp
|
||||
DIB_IMAGE_CACHE: /opt/dib_cache
|
||||
@ -675,6 +679,7 @@ diskimages:
|
||||
- puppet
|
||||
- cache-bindep
|
||||
- growroot
|
||||
- infra-package-needs
|
||||
env-vars:
|
||||
TMPDIR: /opt/dib_tmp
|
||||
DIB_IMAGE_CACHE: /opt/dib_cache
|
||||
@ -690,6 +695,7 @@ diskimages:
|
||||
- puppet
|
||||
- cache-bindep
|
||||
- growroot
|
||||
- infra-package-needs
|
||||
release: 23
|
||||
env-vars:
|
||||
TMPDIR: /opt/dib_tmp
|
||||
|
Loading…
Reference in New Issue
Block a user