diff --git a/config.html b/config.html index aaeac02..79cd4d7 100644 --- a/config.html +++ b/config.html @@ -53,6 +53,9 @@ Add New PCIe Device +
+ Boot Order +
diff --git a/scripts/config.js b/scripts/config.js index bb7b28b..eaaa3ed 100644 --- a/scripts/config.js +++ b/scripts/config.js @@ -30,6 +30,7 @@ async function init () { populateDisk(); populateNetworks(); populateDevices(); + populateBoot(); document.querySelector("#exit").addEventListener("click", handleFormExit); } @@ -616,6 +617,12 @@ async function populateDevices () { } } +async function populateBoot () { + if (type === "qemu") { + document.querySelector("#boot-card").classList.remove("none"); + } +} + function addDeviceLine (fieldset, prefix, deviceID, deviceDetails, deviceName) { const field = document.querySelector(`#${fieldset}`);