James,
Interesting!
So I have an old kickstart I've been using since Cobbler 1.6x days... In it I
have $kickstart_done - but when executing
cobbler system getks --name=centos-workstation
I see it is not expanded!
So I added the snippet to the end of my kickstart like so:
$SNIPPET('kickstart_done')
And now see:
wget "http://cobbler/cblr/svc/op/ks/system/centos-workstation" -O
/root/cobbler.ks
wget "http://cobbler/cblr/svc/op/trig/mode/post/system/centos-workstation" -O
/dev/null
However, I am still getting the reinstall happening...
----- Original Message -----
From: "James Cammarata" <[email protected]>
To: "cobbler mailing list" <[email protected]>
Sent: Tuesday, November 26, 2013 1:37:53 PM
Subject: Re: [cobbler] Using KOAN to install a VM under CentOS 6.4 using CentOS
Xen...it installs over and over again
Do you also have the kickstart done ($SNIPPET('kickstart_done')) snippet
included in your %post section? That is the piece which notifies the cobbler
server the PXE is complete and toggles the netboot-enabled flag.
On Tue, Nov 26, 2013 at 11:37 AM, Scot Floess < [email protected] > wrote:
<blockquote>
I should say I also tried setting netboot-enabled to 0 and verify its not
enabled in the UI...
<blockquote>
From: "Scot Floess" < [email protected] >
To: "cobbler mailing list" < [email protected] >
Sent: Tuesday, November 26, 2013 12:33:29 PM
Subject: Re: [cobbler] Using KOAN to install a VM under CentOS 6.4 using CentOS
Xen...it installs over and over again
Bryan,
Thanks for the response!
Alas this isn't a netboot problem - although at first glance I thought you were
correct. Unfortunately, I'm watching my VM reinstall itself again :(
It's almost like I "koan --replace-self" but that's not what I told it to do.
In fact, this is what I executed:
koan --server=cobbler --system=centos-workstation --virt
I literally see the VM install itself, bootloader installs then the VM shutdown
and is started up again and its as if I initiated the original " koan
--server=cobbler --system=centos-workstation --virt"
Flossy
<blockquote>
From: "Bryan Hughes" < [email protected] >
To: "cobbler mailing list" < [email protected] >
Sent: Tuesday, November 26, 2013 11:24:53 AM
Subject: Re: [cobbler] Using KOAN to install a VM under CentOS 6.4 using CentOS
Xen...it installs over and over again
it is because of the "Netboot Enabled" flag in cobbler.
After the node begins its kickstart either change netboot enabled to false
(unchecked) in GUI or run the following command:
cobbler system edit --name=<hostname> --netboot-enabled=0
That should fix it for you.
Make sure you do it AFTER it begins PXE (so during DHCP stage is fine, right
after it gets its IP).
On 11/26/13, 9:30 AM, Scot Floess wrote:
<blockquote>
All,
I'm somewhat confounded by what I'm seeing when using KOAN. I have a machine
running CentOS 6.4 and installed CentOS-Xen using para virtualization (my
hardware on this box doesn't support full virtualization)...
I had an old VM I created under CentOS 5.9 Xen which I migrated over to this
new machine and it runs fine...
However, I am trying to spin up a new VM and what I see happening is the
install proceeds as expected (again using KOAN). I see in VNC when the boot
loader installs and then the VM attempts to reboot and run... What it does next
is not expected: the install proceeds again...and this continues forever...
Once it reinstalls, it reboots and reinstalls again...
This all works fine under CentOS 5.x - so it could be Xen 4.2 or it could just
be me :) Which, BTW, CentOS-Xen is 4.2 I believe.
Thanks ahead of time...
Flossy
--
Make It So Number One
_______________________________________________
cobbler mailing list [email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler
</blockquote>
--
Make It So Number One
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler
</blockquote>
--
Make It So Number One
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler
</blockquote>
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler
</blockquote>
--
Make It So Number One
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler