default the host in fetch urls to be ROOTSERVER if it is blank
authorRussell Stuart <russell-debian@stuart.id.au>
Sat, 26 Dec 2015 09:01:45 +0000 (10:01 +0100)
committerEvgeni Golov <evgeni@debian.org>
Sat, 26 Dec 2015 09:03:02 +0000 (10:03 +0100)
commit4ec4294d0d18e4300aa83c9479b0e718c4c5ecae
tree064adc50c8d5b1b168f92f2b31e1a59ca71d5a1a
parentf5716f9a79564e44e38f5d4164a4dc1d77cb8c3a
default the host in fetch urls to be ROOTSERVER if it is blank

Reason: this would mean I don't have to customise live.cfg for each
server I deploy it on (because the tftp server also serves the root
image).

So:

     append fetch=tftp:///path/file.ext

doesn't work now, but after the patch this would be
assumed since the host is blank:

     append fetch=tftp://${ROOTSERVER}/path/file.ext

Closes: #800498
components/9990-mount-http.sh