Skip to content

Commit

Permalink
add bootType support
Browse files Browse the repository at this point in the history
  • Loading branch information
tuxtof committed Sep 26, 2023
1 parent b03ddd2 commit 2ed010d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
1 change: 1 addition & 0 deletions component/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export default Ember.Component.extend(NodeDriver, {
vmNetwork: [],
vmCategories: [],
project: "",
bootType: "legacy",
cluster: "",
insecure: true,
storageContainer: "",
Expand Down
17 changes: 14 additions & 3 deletions component/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

{{!-- This line shows the driver title which you don't have to change it --}}
<div class="over-hr"><span>{{driverOptionsTitle}}</span></div>
<div class="over-hr"><span>{{driverContentTitle}}</span></div>


{{#accordion-list showExpandAll=false as | al expandFn | }}
Expand Down Expand Up @@ -128,8 +127,8 @@

<div class="row">
<div class="col span-6">
<label class="acc-label">Template Image
<span class="field-required ember-view">*</span>
<label class="acc-label">
Template Image{{field-required}}
</label>
{{input type="text"
class="form-control"
Expand Down Expand Up @@ -188,6 +187,18 @@
</div>
</div>

<div class="row">
<div class="col span-6">
<label class="acc-label">Boot Configuration: </label>
<div class="radio">
{{radio-button selection=model.%%DRIVERNAME%%Config.bootType value="legacy"}}
legacy
{{radio-button selection=model.%%DRIVERNAME%%Config.bootType value="uefi"}}
uefi
</div>
</div>
</div>

<div class="row">
<label class="acc-label">Cloud Config YAML</label>
{{input-yaml
Expand Down

0 comments on commit 2ed010d

Please sign in to comment.