Project

General

Profile

« Previous | Next » 

Revision 0fa5d146

Added by Dominic Cleal over 10 years ago

fixes #3752 - move data population from migrations into seed script

View differences:

test/fixtures/config_templates.yml
mystring:
name: MyString
template: MyText
template_kind: gpxe
template_kind: ipxe
operatingsystems: centos5_3, redhat
myscript:
......
mystring2:
name: MyString2
template: MyText
template: provision script <%%= foreman_url("finish") %>
template_kind: provision
operatingsystems: centos5_3, redhat
operatingsystems: centos5_3, redhat, ubuntu1010
myfinish:
name: MyFinish
template: MyFinish
template_kind: finish
operatingsystems: centos5_3, redhat
operatingsystems: centos5_3, redhat, ubuntu1010
pxekickstart:
name: centos5_3_pxelinux
template: default linux~label linux~kernel <%%= @kernel %>~append initrd=<%%= @initrd %> ks=<%%= foreman_url("kickstart")%> ksdevice=bootif network kssendmac
template_kind: pxelinux
operatingsystems: centos5_3, redhat
operatingsystems: centos5_3, redhat, ubuntu1010
pxe_menu:
name: PXE Default Menu
......
operatingsystems: centos5_3
pxe_default:
name: PXE Default File
name: PXELinux global default
template: default linux~label linux~kernel <%%= @kernel %>~append initrd=<%%= @initrd %> ksdevice=bootif network kssendmac
template_kind: pxelinux
operatingsystems: centos5_3, redhat
pxe_local_default:
name: PXE Localboot Default
name: PXELinux default local boot
template: DEFAULT menu~PROMPT 0~MENU TITLE PXE Menu~TIMEOUT 200~TOTALTIMEOUT 6000~ONTIMEOUT local~~LABEL local~MENU LABEL (local)~MENU DEFAULT~LOCALBOOT 0
template_kind: pxelinux
operatingsystems: centos5_3, redhat
gpxe:
name: gPXE Dummy Menu
ipxe:
name: iPXE Dummy Menu
template: "FOO"
template_kind: gpxe
template_kind: ipxe
operatingsystems: centos5_3
pxegrub:
name: PXEGrub Dummy Menu
template: "FOO"
template_kind: pxegrub
operatingsystems: centos5_3
operatingsystems: centos5_3, redhat

Also available in: Unified diff