|
@@ -38,7 +38,7 @@ start()
|
|
|
echo "ZONE=\"$timezone\"" >> /etc/sysconfig/clock
|
|
|
fi
|
|
|
|
|
|
- yum_proxy_setup=$(/usr/bin/xenstore-read qubes-service/yum-proxy-setup 2> /dev/null)
|
|
|
+ yum_proxy_setup=$(/usr/bin/xenstore-read qubes-service/yum-proxy-setup 2> /dev/null || /usr/bin/xenstore-read qubes-service/updates-proxy-setup 2>/dev/null )
|
|
|
type=$(/usr/bin/xenstore-read qubes-vm-type)
|
|
|
if [ "$yum_proxy_setup" != "0" ] || [ -z "$yum_proxy_setup" -a "$type" == "TemplateVM" ]; then
|
|
|
echo proxy=http://10.137.255.254:8082/ > /etc/yum.conf.d/qubes-proxy.conf
|