Merge pull request #647 from crawford/teeth

feat(coreos-base/oem-rackspace-teeth): Add teeth OEM
This commit is contained in:
Alex Crawford 2014-06-03 15:04:58 -07:00
commit eb0400da28
3 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,30 @@
#cloud-config
write_files:
- path: /run/systemd/system/user-configdrive.service.d/netconf.conf
permissions: 0644
content: |
[Service]
ExecStart=
ExecStart=/usr/bin/coreos-cloudinit --from-configdrive=/media/configdrive --convert-netconf=debian
coreos:
units:
- name: media-configdrive.mount
command: start
runtime: yes
content: |
[Unit]
DefaultDependencies=no
Conflicts=umount.target
Before=local-fs.target umount.target
[Mount]
What=/dev/disk/by-label/config-2
Where=/media/configdrive
Options=ro
oem:
id: teeth
name: Rackspace Teeth
home-url: http://www.rackspace.com/
bug-report-url: https://github.com/coreos/bugs/issues

View File

@ -0,0 +1 @@
oem-rackspace-teeth-0.0.1.ebuild

View File

@ -0,0 +1,20 @@
# Copyright (c) 2013 CoreOS, Inc.. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=5
DESCRIPTION="OEM suite for Rackspace Teeth images"
HOMEPAGE=""
SRC_URI=""
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
# no source directory
S="${WORKDIR}"
src_install() {
insinto "/usr/share/oem"
doins ${FILESDIR}/cloud-config.yml
}