Barracuda Campus Help Center / Reference
How can I import a virtual product, such as Spam, into Xenserver via CLI?
Scope:
Barracuda Virtual Appliances
Answer:
// upload the product file to the XenServer
// This command imports the template, the uuid returned is the template uuid, we will use this uuid in the next command
[root@xenserver-gdfosmxh ~]# xe vm-import filename=BarracudaSpamFirewall-vm3.2.3-fw5.1.3.004-20130801.xva
58c8fac4-e36c-4639-b0c4-1f4dd9074e44
// Create a vm from the template we imported. Specify the vm's name and template uuid here
// Returns a vm uuid
[root@xenserver-gdfosmxh ~]# xe vm-install new-name-label=BarracudaSpamFirewall template=58c8fac4-e36c-4639-b0c4-1f4dd9074e44
c9efd59d-edf1-47ec-32dd-e655cde12f46
// Start the vm using the vm name
[root@xenserver-gdfosmxh ~]# xe vm-start vm=BarracudaSpamFirewall
Link To This Page:
https://campus.barracuda.com/solution/501600000013vmyAAA