mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-03 03:25:20 +00:00
Fix typo s/SASL_CONF_DIR/SASL_CONF_PATH/ in QEMU VNC code
The QEMU VNC client arg code has a long standing typo of SASL_CONF_DIR when it should be SASL_CONF_PATH for the env variable name. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
02b364e186
commit
adae3f9705
@ -6541,7 +6541,7 @@ qemuBuildGraphicsVNCCommandLine(virQEMUDriverConfigPtr cfg,
|
|||||||
virBufferAddLit(&opt, ",sasl");
|
virBufferAddLit(&opt, ",sasl");
|
||||||
|
|
||||||
if (cfg->vncSASLdir)
|
if (cfg->vncSASLdir)
|
||||||
virCommandAddEnvPair(cmd, "SASL_CONF_DIR", cfg->vncSASLdir);
|
virCommandAddEnvPair(cmd, "SASL_CONF_PATH", cfg->vncSASLdir);
|
||||||
|
|
||||||
/* TODO: Support ACLs later */
|
/* TODO: Support ACLs later */
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test \
|
LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test \
|
||||||
SASL_CONF_DIR=/root/.sasl2 QEMU_AUDIO_DRV=none \
|
SASL_CONF_PATH=/root/.sasl2 QEMU_AUDIO_DRV=none \
|
||||||
/usr/bin/qemu -S -M pc -m 214 \
|
/usr/bin/qemu -S -M pc -m 214 \
|
||||||
-smp 1 -monitor unix:/tmp/test-monitor,server,nowait -no-acpi -boot c -usb -hda \
|
-smp 1 -monitor unix:/tmp/test-monitor,server,nowait -no-acpi -boot c -usb -hda \
|
||||||
/dev/HostVG/QEMUGuest1 -net none -serial none -parallel none -vnc \
|
/dev/HostVG/QEMUGuest1 -net none -serial none -parallel none -vnc \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test \
|
LC_ALL=C PATH=/bin HOME=/home/test USER=test LOGNAME=test \
|
||||||
SASL_CONF_DIR=/root/.sasl2 QEMU_AUDIO_DRV=none \
|
SASL_CONF_PATH=/root/.sasl2 QEMU_AUDIO_DRV=none \
|
||||||
/usr/bin/qemu -S -M pc -m 214 \
|
/usr/bin/qemu -S -M pc -m 214 \
|
||||||
-smp 1 -monitor unix:/tmp/test-monitor,server,nowait -no-acpi -boot c -usb -hda \
|
-smp 1 -monitor unix:/tmp/test-monitor,server,nowait -no-acpi -boot c -usb -hda \
|
||||||
/dev/HostVG/QEMUGuest1 -net none -serial none -parallel none -vnc \
|
/dev/HostVG/QEMUGuest1 -net none -serial none -parallel none -vnc \
|
||||||
|
Loading…
Reference in New Issue
Block a user