Revision e0e31530

b/scripts/gnt-instance
302 302
    for nidx, ndict in opts.nics.items():
303 303
      nidx = int(nidx)
304 304
      nics[nidx] = ndict
305
  elif opts.no_nics:
306
    # no nics
307
    nics = []
305 308
  else:
306 309
    # default of one nic, all auto
307 310
    nics = [{}]
......
1145 1148
             default=[], dest="nics",
1146 1149
             action="append",
1147 1150
             type="identkeyval"),
1151
  make_option("--no-nics", default=False, action="store_true",
1152
              help="Do not create any network cards for the instance"),
1148 1153
  make_option("--no-wait-for-sync", dest="wait_for_sync", default=True,
1149 1154
              action="store_false", help="Don't wait for sync (DANGEROUS!)"),
1150 1155
  make_option("--no-start", dest="start", default=True,

Also available in: Unified diff