~oddbloke/vmbuilder/jenkins_kvm-xenialception

« back to all changes in this revision

Viewing changes to templates/default.tmpl

  • Committer: Daniel Watkins
  • Date: 2017-01-17 12:55:59 UTC
  • Revision ID: daniel.watkins@canonical.com-20170117125559-hleu6l29m7208wb6
Don't use xchroot for apt-add-repository because it forces LANG=C

Show diffs side-by-side

added added

removed removed

Lines of Context:
385
385
do
386
386
    if [ "${_p::3}" = "ppa" ]; then
387
387
        debug "Adding PPA: ${_p}"
388
 
        LANG=C.UTF-8 xchroot apt-add-repository -y "${_p}"
 
388
        chroot apt-add-repository -y "${_p}"
389
389
    fi
390
390
done
391
391