I'm trying to create a VM using an oVirt compute resource with Hammer, 
starting from an image, but it fails

Could not create the host:
  Error: At least one of options --partition-table, --partition-table-id is 
required
  
  See: 'hammer host create --help'

my command line is:


hammer host create \
    --architecture-id=1 --domain-id=1 --operatingsystem-id=7 \
    --hostgroup-title "Production" --name new-vm01 \
    --provision-method image \
    --image "CentOS_7.3" \
    --compute-resource "oVirt" \
    --compute-attributes 
"cluster=4df57363-2df7-45e6-b14c-1ac4537f6df8,cores=6,memory=68719476736,start=1"


If I add the '--partition-table-id=NNN' switch, then it works. Should I 
open a bug?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to