search for: anyterm_local_only

Displaying 4 results from an estimated 4 matches for "anyterm_local_only".

2009 Aug 03
1
[PATCH node] changed fickle anyterm sysconfig changes to something more robust (revised)
...s/ovirt-functions @@ -213,11 +213,10 @@ ovirt_setup_libvirtd() { ovirt_setup_anyterm() { # configure anyterm - sed -i -e 's/^# ANYTERM_CMD=\/usr\/bin\/anyterm-cmd/ANYTERM_CMD="sudo \/usr\/bin\/virsh console %p"/' \ - /etc/sysconfig/anyterm - - sed -i -e 's/^# ANYTERM_LOCAL_ONLY=true/ANYTERM_LOCAL_ONLY=false/' \ - /etc/sysconfig/anyterm + cat >> /etc/sysconfig/anyterm << EOF +ANYTERM_CMD="sudo /usr/bin/virsh console %p" +ANYTERM_LOCAL_ONLY=false +EOF # permit it to run the virsh console echo "anyterm ALL=NOPASSWD: /usr/bin/...
2009 Aug 03
0
[PATCH node] changed fickle anyterm sysconfig changes to something more rebust
...s/ovirt-functions @@ -213,11 +213,10 @@ ovirt_setup_libvirtd() { ovirt_setup_anyterm() { # configure anyterm - sed -i -e 's/^# ANYTERM_CMD=\/usr\/bin\/anyterm-cmd/ANYTERM_CMD="sudo \/usr\/bin\/virsh console %p"/' \ - /etc/sysconfig/anyterm - - sed -i -e 's/^# ANYTERM_LOCAL_ONLY=true/ANYTERM_LOCAL_ONLY=false/' \ - /etc/sysconfig/anyterm + cat >> /etc/sysconfig/anyterm << EOF + ANYTERM_CMD="sudo /usr/bin/virsh console %p" + ANYTERM_LOCAL_ONLY=false + EOF # permit it to run the virsh console echo "anyterm ALL=NOPASS...
2011 Jul 25
0
[PATCH node] Drop F15 build recipes
..."s/^\([[:space:]]*mech_list.*\)/#\1/" $sasl_conf - echo "mech_list: gssapi" >> $sasl_conf - fi - -#ovirt_setup_anyterm() - # configure anyterm - cat >> /etc/sysconfig/anyterm << \EOF_anyterm -ANYTERM_CMD="sudo /usr/bin/virsh console %p" -ANYTERM_LOCAL_ONLY=false -EOF_anyterm - - # permit it to run the virsh console - echo "anyterm ALL=NOPASSWD: /usr/bin/virsh console *" >> /etc/sudoers - -# rwtab changes from upstream -patch -d /etc/ -p1 << \EOF_PATCH -diff --git a/rwtab b/rwtab -index cfcb814..7dcb846 100644 ---- a/rwtab -+...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...st: gssapi\" >> %s") % sasl_conf + +def ovirt_setup_anyterm(): + # configure anyterm + anyterm_conf = open("/etc/sysconfig/anyterm", "w") + anyterm_conf.write("ANYTERM_CMD=\"sudo /usr/bin/virsh console %p\"") + anyterm_conf.write("ANYTERM_LOCAL_ONLY=false") + anyterm_conf.close() + # permit it to run the virsh console + os.system("echo \"anyterm ALL=NOPASSWD: /usr/bin/virsh console *\" >> /etc/sudoers") + +# mount livecd media +# e.g. CD /dev/sr0, USB /dev/sda1, +# PXE /dev/loop0 (loopback ISO) +# not avail...