Re: Fix for virt-install of Ubuntu 16.04 from Cobbler defaults to i386

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/04/2017 06:58 AM, Rowan Potgieter wrote:
> Hi
> 
> We are in the process of setting up Cobbler so we can use PXE boot on our
> corporate network. 
> To test that everything works as expected I imported Ubuntu 16.04.2 Server
> amd64 and attempted to PXE boat using koan as per this guide:
> 
> https://help.ubuntu.com/community/Cobbler/Deployment
> 
> virt-install fails to startup due to an "hvm" error which I can see is due to
> virt-install defaulting to the i386 arch - this is similar to an issue that
> was fixed recently:
> https://www.redhat.com/archives/virt-tools-list/2016-August/msg00009.html
> https://github.com/virt-manager/virt-manager/commit/3f15a489cda87f8028828d567848193dd2640a43
> 
> However, I've noticed that the uri generated by Cobbler does not use amd64, it
> uses x86_64 instead. To get the PXE boot to work I needed to add x86_64 to the
> arch check. 
> 
> I've attached a patch showing the changes - there may be a better/cleaner way
> to handle this but this change did work for me in my environment. 
> 

Looks good to me, I've pushed it now

Thanks,
Cole

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux