mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-26 19:10:30 +00:00
Update osdeploy
This commit is contained in:
parent
8cdc9c9479
commit
4e2767ce9d
@ -316,23 +316,23 @@ def updateboot(profilename):
|
||||
|
||||
def oslist():
|
||||
c = client.Command()
|
||||
print "Distributions:"
|
||||
print("Distributions:")
|
||||
for rsp in c.read('/deployment/distributions'):
|
||||
if 'error' in rsp:
|
||||
sys.stderr.write(res['error'] + '\n')
|
||||
exitcode = 1
|
||||
else:
|
||||
print(" " + rsp['item']['href'].replace('/', ''))
|
||||
print ""
|
||||
print("")
|
||||
|
||||
print "Profiles:"
|
||||
print("Profiles:")
|
||||
for rsp in c.read('/deployment/profiles'):
|
||||
if 'error' in rsp:
|
||||
sys.stderr.write(res['error'] + '\n')
|
||||
exitcode = 1
|
||||
else:
|
||||
print(" " + rsp['item']['href'].replace('/', ''))
|
||||
print ""
|
||||
print("")
|
||||
|
||||
|
||||
def osimport(imagefile):
|
||||
|
Loading…
x
Reference in New Issue
Block a user