Ubuntu package repositories added to Fuel ISO 51/1951/1
authorStefan K. Berg <stefan.k.berg@ericsson.com>
Tue, 22 Sep 2015 10:05:35 +0000 (12:05 +0200)
committerStefan K. Berg <stefan.k.berg@ericsson.com>
Thu, 24 Sep 2015 06:49:55 +0000 (08:49 +0200)
commit5ba33388e4b4388e008d3cd5654af402e1cb7535
tree20e6e1f0f68ed5c549608e9c1c2c8308e1c42a5a
parent88ac5619a676c50d60d4496d1ac54440838bf8f9
Ubuntu package repositories added to Fuel ISO

Starting with Fuel 6.1, the Ubuntu repositories are no longer stored
on the Fuel ISO, but by default fetched from the Internet during
installation (the exact URI can be modified in the Fuel configuration).

In order to being able to handle a deployment scenario where the Fuel
node has no Internet connectivity, the OPNFV Fuel ISO is adding the
necessary repositories into /var/www/nailgun by fetching them during
the generation of the ISO.

The actual fetching is done by a Fuel provided package,
fuel-createmirror.deb, which can be found in /opt of the Fuel master
(but which is run outside Fuel in the context of the build process
when generating the OPNFV ISO).

An additional OPNFV post installation script is added as
/opt/opnfv/bootstrap/post.d/03_install_repo.sh
which will populate /var/www/nailgun with these repositories in the
late stage of the bootstrap_admin_node process.

Important!

In order to use these repositories For deployment, the default Fuel
repo configuration must be changed as below:

Repository "mos-updates"
 URI="deb http://10.20.0.2:8080/mos-ubuntu mos6.1-updates main restricted"
Repository "mos-security"
  URI="deb http://10.20.0.2:8080/mos-ubuntu mos6.1-security main restricted"
Repository "mos-holdback"
  URI="deb http://10.20.0.2:8080/mos-ubuntu mos6.1-holdback main restricted"

Repository "ubuntu"
  URI="deb http://10.20.0.2:8080/ubuntu-part trusty main"
Repository "ubuntu-security"
  URI="deb http://10.20.0.2:8080/ubuntu-part trusty main"
Repository "ubuntu-updates"
  URI="deb http://10.20.0.2:8080/ubuntu-part trusty main"

Change-Id: I25211bd3f277b560808fd838180aa52e278af404
Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com>
fuel/build/f_isoroot/Makefile
fuel/build/f_isoroot/f_bootstrap/post-scripts/03_install_repo.sh [new file with mode: 0644]
fuel/build/f_isoroot/f_repobuild/Makefile [new file with mode: 0644]