Sha256: 9ac06862c44a6a3ae894c3d02c8dd465a9298cdbbc639ea24581e9e49fff37f6

Contents?: true

Size: 332 Bytes

Versions: 5

Compression:

Stored size: 332 Bytes

Contents

#!/bin/bash

KERNEL="/boot/kernel"
INITRD="/boot/initrd.img"

wget -O "$KERNEL" "<%= @host.url_for_boot(:kernel) %>"
wget -O "$INITRD" "<%= @host.url_for_boot(:initrd) %>"

grubby --add-kernel=$KERNEL --initrd=$INITRD  --copy-default --title "<%= @host.operatingsystem %>" --make-default  --args="ks=<%= foreman_url("provision")%>"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/views/unattended/grubby.erb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/unattended/grubby.erb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/unattended/grubby.erb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/unattended/grubby.erb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/unattended/grubby.erb