~ahasenack/ubuntu/+source/base-files:eoan-base-file-handle-empty-cloud-id-1841597

Last commit made on 2019-08-30
Get this branch:
git clone -b eoan-base-file-handle-empty-cloud-id-1841597 https://git.launchpad.net/~ahasenack/ubuntu/+source/base-files
Only Andreas Hasenack can upload to this branch. If you are Andreas Hasenack please log in for upload directions.

Branch merges

Branch information

Name:
eoan-base-file-handle-empty-cloud-id-1841597
Repository:
lp:~ahasenack/ubuntu/+source/base-files

Recent commits

f1d54c8... by Andreas Hasenack

changelog

14bec30... by Andreas Hasenack

  * motd/50-motd-news: set cloud-id to unknown if the tool exited with a
    non-zero status, or printed an empty string (LP: #1841597)

bd45dc6... by Andreas Hasenack

Import patches-unapplied version 10.2ubuntu5 to ubuntu/eoan-proposed

Imported using git-ubuntu import.

Upload parent: 65bc858eb5ec56b2061f570fcdba48a3fcae1dce

65bc858... by Andreas Hasenack

Update d/changelog

fe194b8... by Andreas Hasenack

Add a basic filtering to avoid surprises with special characters in shell

1f430e5... by Andreas Hasenack

Don't use --fail with curl

We can't use --fail because a 404 document will be treated as a failure,
even though in our case the 404 document is the index.txt file.

Example:
$ curl https://motd.ubuntu.com/andreas-was-here
 * Keen to learn Istio? It's included in the single-package MicroK8s.

     https://snapcraft.io/microk8s

vs

$ curl --fail https://motd.ubuntu.com/andreas-was-here
curl: (22) The requested URL returned error: 404 Not Found

736b83a... by Andreas Hasenack

Add bug number to changelog

a579761... by Andreas Hasenack

Use --fail instead of -f in curl's command line

3f67399... by Andreas Hasenack

changelog

9cc8f70... by Andreas Hasenack

  * motd/50-motd-news: have curl fail silently on server errors. This
    avoids fetching html error pages and displaying them as motd.