2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-26 19:10:30 +00:00

Update osdeploy

This commit is contained in:
Jarrod Johnson 2021-01-27 08:51:03 -05:00 committed by GitHub
parent 8cdc9c9479
commit 4e2767ce9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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):