coreos-base/oem-*: add oem-release

This commit is contained in:
Alex Crawford 2015-07-17 18:11:42 -07:00
parent d99ae281bc
commit b1a5e0853b
34 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1 @@
OEM_ID=azure

View File

@ -26,4 +26,5 @@ src_install() {
insinto "/usr/share/oem"
doins "${T}/cloud-config.yml"
doins "${FILESDIR}/grub.cfg"
doins "${FILESDIR}/oem-release"
}

View File

@ -0,0 +1 @@
OEM_ID=cloudsigma

View File

@ -22,4 +22,5 @@ src_prepare() {
src_install() {
insinto "/usr/share/oem"
doins "${T}/cloud-config.yml"
doins "${FILESDIR}/oem-release"
}

View File

@ -0,0 +1 @@
OEM_ID=cloudstack

View File

@ -33,4 +33,5 @@ src_install() {
insinto "/usr/share/oem"
doins "${T}/cloud-config.yml"
doins "${FILESDIR}/oem-release"
}

View File

@ -0,0 +1 @@
OEM_ID=digitalocean

View File

@ -22,4 +22,5 @@ src_prepare() {
src_install() {
insinto "/usr/share/oem"
doins "${T}/cloud-config.yml"
doins "${FILESDIR}/oem-release"
}

View File

@ -0,0 +1 @@
OEM_ID=brightbox

View File

@ -0,0 +1 @@
OEM_ID=openstack

View File

@ -45,5 +45,10 @@ src_install() {
doins "${T}/cloud-config.yml"
if use ec2 ; then
newins "${FILESDIR}/grub-ec2.cfg" grub.cfg
newins "${FILESDIR}/oem-release-ec2" oem-release
elif use openstack ; then
newins "${FILESDIR}/oem-release-openstack" oem-release
elif use brightbox ; then
newins "${FILESDIR}/oem-release-brightbox" oem-release
fi
}

View File

@ -0,0 +1 @@
OEM_ID=exoscale

View File

@ -33,4 +33,5 @@ src_install() {
insinto "/usr/share/oem"
doins "${T}/cloud-config.yml"
doins "${FILESDIR}/oem-release"
}

View File

@ -0,0 +1 @@
OEM_ID=gce

View File

@ -35,4 +35,5 @@ src_install() {
insinto "/usr/share/oem"
doins "${T}/cloud-config.yml"
doins "${FILESDIR}/grub.cfg"
doins "${FILESDIR}/oem-release"
}

View File

@ -0,0 +1 @@
OEM_ID=hyperv

View File

@ -23,4 +23,5 @@ src_prepare() {
src_install() {
insinto "/usr/share/oem"
doins "${T}/cloud-config.yml"
doins "${FILESDIR}/oem-release"
}

View File

@ -0,0 +1 @@
OEM_ID=niftycloud

View File

@ -33,4 +33,5 @@ src_install() {
insinto "/usr/share/oem"
doins "${T}/cloud-config.yml"
doins "${FILESDIR}/oem-release"
}

View File

@ -0,0 +1 @@
OEM_ID=packet

View File

@ -26,4 +26,5 @@ src_install() {
insinto "/usr/share/oem"
doins "${T}/cloud-config.yml"
doins "${FILESDIR}/oem-release"
}

View File

@ -0,0 +1 @@
OEM_ID=rackspace-onmetal

View File

@ -27,4 +27,5 @@ src_install() {
insinto "/usr/share/oem"
doins "${T}/cloud-config.yml"
doins "${FILESDIR}/grub.cfg"
doins "${FILESDIR}/oem-release"
}

View File

@ -0,0 +1 @@
OEM_ID=rackspace

View File

@ -34,6 +34,7 @@ src_install() {
rsync --exclude=".git" -aq "${S}/" "${D}/usr/share/oem/nova-agent/" || die
insinto "/usr/share/oem"
doins "${T}/cloud-config.yml"
doins "${FILESDIR}/oem-release"
into "/usr/share/oem"
dobin "${FILESDIR}/coreos-setup-environment"

View File

@ -0,0 +1 @@
OEM_ID=vagrant

View File

@ -18,4 +18,5 @@ S="${WORKDIR}"
src_install() {
insinto "/usr/share/oem"
doins "${FILESDIR}/cloud-config.yml"
doins "${FILESDIR}/oem-release"
}

View File

@ -0,0 +1 @@
OEM_ID=vagrant

View File

@ -24,6 +24,7 @@ src_install() {
insinto "/usr/share/oem"
doins "${T}/cloud-config.yml"
doins -r "${FILESDIR}/box"
doins "${FILESDIR}/oem-release"
into "/usr/share/oem"
dobin "${FILESDIR}/coreos-setup-environment"

View File

@ -0,0 +1 @@
OEM_ID=vmware

View File

@ -28,4 +28,5 @@ src_prepare() {
src_install() {
insinto "/usr/share/oem"
doins "${T}/cloud-config.yml"
doins "${FILESDIR}/oem-release"
}

View File

@ -0,0 +1 @@
OEM_ID=xendom0

View File

@ -26,4 +26,5 @@ src_install() {
insinto "/usr/share/oem"
doins "${T}/cloud-config.yml"
doins "${T}/grub.cfg"
doins "${FILESDIR}/oem-release"
}