Merge lp:~nuclearbob/utah/cobbler-mini into lp:utah
Proposed by
Max Brustkern
Status: | Rejected |
---|---|
Rejected by: | Max Brustkern |
Proposed branch: | lp:~nuclearbob/utah/cobbler-mini |
Merge into: | lp:utah |
Diff against target: |
102 lines (+40/-21) 1 file modified
utah/provisioning/baremetal/cobbler.py (+40/-21) |
To merge this branch: | bzr merge lp:~nuclearbob/utah/cobbler-mini |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Max Brustkern (community) | Disapprove | ||
Review via email:
|
Description of the change
Add support for mini/netboot images to CobblerMachine. I've tested this in magners-orchestra with good results.
To post a comment you must log in.
In the following piece of code:
if self.installtype in ['alternate', 'server']:
self.cinitrd = os.path. join('install' , 'netboot',
'ubuntu- installer' , self.arch,
'initrd. gz') ingException(
'Only alternate and server images currently supported '
'for cobbler provisioning')
elif self.installtype != 'mini':
raise UTAHBMProvision
I think the error message should be updated to include `mini` images as well since they are supported at least from what I've seen.
Also, even if the changes look good, I don't know how would I test this to exercise the code. Maybe could you provide some information here or offline? Thanks.