diff options
author | Julia Kreger <juliaashleykreger@gmail.com> | 2018-05-16 12:11:21 -0700 |
---|---|---|
committer | Julia Kreger <juliaashleykreger@gmail.com> | 2018-07-26 17:22:47 +0000 |
commit | 731af401290a1eaad19bbe89ae227fe4c2b5816b (patch) | |
tree | 60ecc39ec7c980dd5b59a7eb128dbf0b6fd04975 /ironic/tests/unit/drivers/ipxe_config_boot_from_volume_no_extra_volumes.template | |
parent | bf76dd4fdcb6fbb506253344a6df20f1ead0e420 (diff) | |
download | ironic-731af401290a1eaad19bbe89ae227fe4c2b5816b.tar.gz |
Adds ramdisk deploy driver
Adds a pxe deploy driver to support the concept
of a deployment just consisting of a ramdisk.
Ideally, as long as a kernel and ramdisk are
defined, either by the operator or via a glance
image, the PXE/iPXE template should point the
booted kernel to using ramdisk as the root.
In theory, this would allow deployment via
nova, or directly using the parameters posted
to the node's instance_info.
There may be additional features realistically
needed for this to be beyond minimally useful,
but that would also depend on the contents of
the ramdisk that is deployed by an API user.
Change-Id: Id7067527cba27ed49753736f33ccb35e9b35bcba
Story: 1753842
Task: 10666
Diffstat (limited to 'ironic/tests/unit/drivers/ipxe_config_boot_from_volume_no_extra_volumes.template')
-rw-r--r-- | ironic/tests/unit/drivers/ipxe_config_boot_from_volume_no_extra_volumes.template | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ironic/tests/unit/drivers/ipxe_config_boot_from_volume_no_extra_volumes.template b/ironic/tests/unit/drivers/ipxe_config_boot_from_volume_no_extra_volumes.template index 244eb53c8..32a191dbb 100644 --- a/ironic/tests/unit/drivers/ipxe_config_boot_from_volume_no_extra_volumes.template +++ b/ironic/tests/unit/drivers/ipxe_config_boot_from_volume_no_extra_volumes.template @@ -31,6 +31,12 @@ kernel http://1.2.3.4:1234/kernel root={{ ROOT }} ro text test_param initrd=ramd initrd http://1.2.3.4:1234/ramdisk || goto boot_partition boot +:boot_ramdisk +imgfree +kernel http://1.2.3.4:1234/kernel root=/dev/ram0 text test_param ramdisk_param initrd=ramdisk || goto boot_ramdisk +initrd http://1.2.3.4:1234/ramdisk || goto boot_ramdisk +boot + :boot_iscsi imgfree set username fake_username |