mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-19 13:31:28 +02:00
Merge pull request #647 from crawford/teeth
feat(coreos-base/oem-rackspace-teeth): Add teeth OEM
This commit is contained in:
commit
eb0400da28
@ -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
|
@ -0,0 +1 @@
|
|||||||
|
oem-rackspace-teeth-0.0.1.ebuild
|
@ -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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user