Skip to content

Commit

Permalink
Fixes #36560 - Persist pxe_loader on os_select
Browse files Browse the repository at this point in the history
  • Loading branch information
adamruzicka authored and ofedoren committed Jun 30, 2023
1 parent f034a4f commit dee9c60
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
"ptable",
"puppetclass",
"puppetclasses",
"pxe_loader",
"Pv",
"qcow2",
"rbt",
Expand Down
1 change: 1 addition & 0 deletions webpack/assets/javascripts/foreman_hosts.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export function getAttributesToPost(componentType) {
'location_id',
'ptable_id',
'medium_id',
'pxe_loader',
],
medium: ['medium_id', 'operatingsystem_id', 'architecture_id'],
image: ['medium_id', 'operatingsystem_id', 'architecture_id', 'model_id'],
Expand Down
2 changes: 2 additions & 0 deletions webpack/assets/javascripts/foreman_hosts.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ describe('getAttributesToPost', () => {
'location_id',
'ptable_id',
'medium_id',
'pxe_loader',
]);
});

Expand All @@ -32,6 +33,7 @@ describe('getAttributesToPost', () => {
'location_id',
'ptable_id',
'medium_id',
'pxe_loader',
'foo',
]);
});
Expand Down

0 comments on commit dee9c60

Please sign in to comment.