mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-22 23:11:07 +02:00
coreos-base/oem-hyperv: switch to ignition scheme
Since there is no cloud-config to drop here, just bring this OEM inline with the others in terms of their structure.
This commit is contained in:
parent
51e22be86d
commit
c047e9e91d
@ -1,8 +0,0 @@
|
|||||||
#cloud-config
|
|
||||||
|
|
||||||
coreos:
|
|
||||||
oem:
|
|
||||||
id: hyperv
|
|
||||||
name: Microsoft Hyper-V
|
|
||||||
version-id: @@OEM_VERSION_ID@@
|
|
||||||
bug-report-url: https://issues.coreos.com
|
|
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-hyperv/files/oem-release
vendored
Normal file
4
sdk_container/src/third_party/coreos-overlay/coreos-base/oem-hyperv/files/oem-release
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
ID=hyperv
|
||||||
|
VERSION_ID=@@OEM_VERSION_ID@@
|
||||||
|
NAME="Microsoft Hyper-V"
|
||||||
|
BUG_REPORT_URL="https://issues.coreos.com"
|
@ -16,12 +16,12 @@ IUSE=""
|
|||||||
S="${WORKDIR}"
|
S="${WORKDIR}"
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
sed -e "s\\@@OEM_VERSION_ID@@\\${PVR}\\g" \
|
||||||
"${FILESDIR}/cloud-config.yml" > "${T}/cloud-config.yml" || die
|
"${FILESDIR}/oem-release" > "${T}/oem-release" || die
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
insinto "/usr/share/oem"
|
insinto "/usr/share/oem"
|
||||||
doins "${T}/cloud-config.yml"
|
|
||||||
doins "${FILESDIR}/grub.cfg"
|
doins "${FILESDIR}/grub.cfg"
|
||||||
|
doins "${T}/oem-release"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user