M images/ubuntu/functions => images/ubuntu/functions +2 -2
@@ 55,9 55,9 @@ add_repository() {
--output /etc/apt/trusted.gpg.d/$key.gpg \
--export $key
fi
- printf 'deb %s %s %s' "$repo" "$distro" "$cmpnt" \
+ printf 'deb %s %s %s\n' "$repo" "$distro" "$cmpnt" \
| guest_ssh -p $port build@localhost sudo tee -a /etc/apt/sources.list
- printf 'deb-src %s %s %s' "$repo" "$distro" "$cmpnt" \
+ printf 'deb-src %s %s %s\n' "$repo" "$distro" "$cmpnt" \
| guest_ssh -p $port build@localhost sudo tee -a /etc/apt/sources.list
guest_ssh -p "$port" build@localhost sudo apt-get update
}