Displaying 2 results from an estimated 2 matches for "sasl_conf".
2011 Jul 25
0
[PATCH node] Drop F15 build recipes
...or kerberos)
- sed -i -e "s/^[[:space:]]*#[[:space:]]*\(listen_tcp\)\>.*/\1 = 1/" \
- -e "s/^[[:space:]]*#[[:space:]]*\(listen_tls\)\>.*/\1 = 0/" \
- /etc/libvirt/libvirtd.conf
-
- # with libvirt (0.4.0), make sure we we setup gssapi in the mech_list
- sasl_conf=/etc/sasl2/libvirt.conf
- if ! grep -qE "^mech_list: gssapi" $sasl_conf ; then
- sed -i -e "s/^\([[:space:]]*mech_list.*\)/#\1/" $sasl_conf
- echo "mech_list: gssapi" >> $sasl_conf
- fi
-
-#ovirt_setup_anyterm()
- # configure anyterm
- cat &...
2010 Oct 22
0
[PATCH node] First draft of replacing some of the ovirt-config-* scripts with python equivalents.
...system('sed -i -e "s/^[[:space:]]*#[[:space:]]*\(listen_tcp\)\>.*/\1 = 1/" \
+ -e "s/^[[:space:]]*#[[:space:]]*\(listen_tls\)\>.*/\1 = 0/" \
+ /etc/libvirt/libvirtd.conf')
+
+ # with libvirt (0.4.0), make sure we we setup gssapi in the mech_list
+ sasl_conf="/etc/sasl2/libvirt.conf"
+ ret = os.system('grep -qE "^mech_list: gssapi %s') % sasl_conf
+ if ret > 0:
+ os.system("sed -i -e \"s/^\([[:space:]]*mech_list.*\)/#\1/\" %s") % sasl_conf
+ os.system("echo \"mech_list: gssapi\...