I've noticed that the default graphical console display has changed in
koan-0.6.3-3 (I had previously been using v0.6.2-2). The default display
is now set to "vnc".
The default console setting for python-virtinst is None. This is a good
choice for a default, since /everyone/ (even those not using X every
time they deploy virtuals) can view the console. The following patches
push console policy to the user and defaults the console to text in the
event a "-g --graphics" switch is not found.
@@ -56,7 +57,8 @@
guest.set_name(name)
guest.set_memory(ram)
guest.set_vcpus(vcpus)
-# guest.set_graphics("vnc")
+ if graphics:
+ guest.set_graphics("vnc")
if uuid is not None:
guest.set_uuid(uuid)
===END xencreate.py PATCH===
Regards,
- Adam.
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
01-05-2008, 04:53 AM
Adam Rosenwald
PATCH: Graphical options for koan
Sorry, Michael. I didn't see your thread on --nogfx. My patches were
applicable to koan-0.6.3-3 - not GIT (which likely contained your new code).
In any event, I would highly recommend that you revert the default
console policy to text, since this will work for practically every
end-user environment. VNC requires dependencies that not all users will
have or /should/ have in order to use koan.
Regards,
- A.
Adam Rosenwald wrote:
Michael,
I've noticed that the default graphical console display has changed in
koan-0.6.3-3 (I had previously been using v0.6.2-2). The default
display is now set to "vnc".
The default console setting for python-virtinst is None. This is a
good choice for a default, since /everyone/ (even those not using X
every time they deploy virtuals) can view the console. The following
patches push console policy to the user and defaults the console to
text in the event a "-g --graphics" switch is not found.
@@ -56,7 +57,8 @@
guest.set_name(name)
guest.set_memory(ram)
guest.set_vcpus(vcpus)
-# guest.set_graphics("vnc")
+ if graphics:
+ guest.set_graphics("vnc")
if uuid is not None:
guest.set_uuid(uuid)
===END xencreate.py PATCH===
Regards,
- Adam.
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
01-07-2008, 02:06 PM
Michael DeHaan
PATCH: Graphical options for koan
Adam Rosenwald wrote:
Sorry, Michael. I didn't see your thread on --nogfx. My patches were
applicable to koan-0.6.3-3 - not GIT (which likely contained your new
code).
Correct. 0.6.4, which has a release up on the testing section of the
download URL, has the --nogfx flag.
Since that is not dependent on Cobbler's 0.7.x features that can be
released in the coming weeks, so we don't need a 0.6.3 1/2 release.
Adam Rosenwald wrote:
Michael,
I've noticed that the default graphical console display has changed
in koan-0.6.3-3 (I had previously been using v0.6.2-2). The default
display is now set to "vnc".
The default console setting for python-virtinst is None. This is a
good choice for a default, since /everyone/ (even those not using X
every time they deploy virtuals) can view the console. The following
patches push console policy to the user and defaults the console to
text in the event a "-g --graphics" switch is not found.