Guest User

Untitled

a guest
Nov 21st, 2014
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. Juno and higher versions of Ironic:
  2.  
  3. nova flavor-key my-baremetal-flavor set cpu_arch=$ARCH
  4.  
  5. Associate the deploy ramdisk and deploy kernel images to the node’s driver_info (pxe_ipmitool driver used in the example below):
  6.  
  7. ironic node-create -d pxe_ipmitool \
  8. -i pxe_deploy_kernel=$DEPLOY_VMLINUZ_UUID \
  9. -i pxe_deploy_ramdisk=$DEPLOY_INITRD_UUID \
  10. -i ipmi_address=<IPaddress> \
  11. -i ipmi_username=<username> \
  12. -i ipmi_password=<password> \
  13. -i pxe_root_gb=<root partition size> \
  14. -p cpus=$CPU -p memory_mb=$RAM_MB -p local_gb=$DISK_GB -p cpu_arch=$ARCH
Advertisement
Add Comment
Please, Sign In to add comment