equal
deleted
inserted
replaced
1369 with ZoneConfig(zone) as zc: |
1369 with ZoneConfig(zone) as zc: |
1370 LOG.debug("-" * 80) |
1370 LOG.debug("-" * 80) |
1371 LOG.debug(zc.zone.exportConfig(True)) |
1371 LOG.debug(zc.zone.exportConfig(True)) |
1372 LOG.debug("-" * 80) |
1372 LOG.debug("-" * 80) |
1373 |
1373 |
1374 options = ['-a ', image] |
1374 options = ['-a', image] |
1375 |
1375 |
1376 if os.listdir(sc_dir): |
1376 if os.listdir(sc_dir): |
1377 # the directory isn't empty so pass it along to install |
1377 # the directory isn't empty so pass it along to install |
1378 options.extend(['-c ', sc_dir]) |
1378 options.extend(['-c', sc_dir]) |
1379 |
1379 |
1380 try: |
1380 try: |
1381 LOG.debug(_("installing instance '%s' (%s)") % |
1381 LOG.debug(_("installing instance '%s' (%s)") % |
1382 (name, instance['display_name'])) |
1382 (name, instance['display_name'])) |
1383 zone.install(options=options) |
1383 zone.install(options=options) |