[Bug 1274448] Re: MAAS packages do not respect debconf seeded options

Dustin Kirkland  dustin.kirkland at gmail.com
Fri Jan 31 10:44:33 UTC 2014


=== modified file 'debian/maas-region-controller-min.postinst'
--- debian/maas-region-controller-min.postinst  2014-01-15 15:38:32 +0000
+++ debian/maas-region-controller-min.postinst  2014-01-31 10:22:30 +0000
@@ -38,8 +38,7 @@
     local ipaddr="$1"
 
     if grep -qs "^DEFAULT_MAAS_URL\ \= \"[a-zA-Z0-9:/.]\{0,\}\"$" /etc/maas/maas_local_settings.py; then
-        sed -i "s/^DEFAULT_MAAS_URL\ \= \"[a-zA-Z0-9:/.]\{0,\}\"$/DEFAULT_MAAS_URL = \"http:\/\/"$ipaddr"\/MAAS\"/" \
-            /etc/maas/maas_local_settings.py
+        sed -i "s/^DEFAULT_MAAS_URL\ \= \"[a-zA-Z0-9:/.]\{0,\}\"$/DEFAULT_MAAS_URL = \"http:\/\/$ipaddr\/MAAS\"/" /etc/maas/maas_local_settings.py
     fi
 }

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1274448

Title:
  MAAS packages do not respect debconf seeded options

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1274448/+subscriptions



More information about the Ubuntu-server-bugs mailing list