~smoser/cloud-init/precise-locale-warning

« back to all changes in this revision

Viewing changes to debian/cloud-init.postinst

  • Committer: Scott Moser
  • Date: 2012-03-14 18:53:08 UTC
  • Revision ID: smoser@ubuntu.com-20120314185308-6zjhhgnee4k833uh
fix bug in cloud-init.postinst where the name used was wrong
causing config-apt-pipelining to run more than intended

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
   # cloud-init to run it on next boot.
130
130
   pipeline_f="/etc/apt/apt.conf.d/90cloud-init-pipelining"
131
131
   if [ -f /var/lib/cloud/instance/obj.pkl ]; then
132
 
      cloud-init-cfg apt_pipelining once-per-instance >/dev/null 2>&1 ||
133
 
         echo "Warning: failed to setup apt_pipelining" 1>&2
 
132
      cloud-init-cfg apt-pipelining once-per-instance >/dev/null 2>&1 ||
 
133
         echo "Warning: failed to setup apt-pipelining" 1>&2
134
134
   elif [ ! -f "$pipeline_f" ]; then
135
135
      # there was no cloud available, so populate it ourselves.
136
136
      cat > "$pipeline_f" <<EOF