This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
get_started_fuel_deploy [2015/03/02 21:49] Christopher Price |
get_started_fuel_deploy [2015/12/29 02:02] (current) Ruijing Guo [4. Clone the OPNFV code git repository] |
||
|---|---|---|---|
| Line 21: | Line 21: | ||
| Also make sure to define relevant dns servers part of the global dns chain in | Also make sure to define relevant dns servers part of the global dns chain in | ||
| - | in your /etc/default/docker config file, eg. | + | in your /etc/default/docker(.io) config file, eg. |
| DOCKER_OPTS=" --dns=8.8.8.8 --dns=8.8.8.4" | DOCKER_OPTS=" --dns=8.8.8.8 --dns=8.8.8.4" | ||
| - | Then restart docker with "service docker restart".: | + | Then restart docker with "service docker(.io) restart".: |
| + | |||
| + | Note: Ubuntu Trusty comes with a docker.io package | ||
| //===== 3. Setting up OPNFV Gerrit in order to being able to clone the code ===== | //===== 3. Setting up OPNFV Gerrit in order to being able to clone the code ===== | ||
| Line 38: | Line 40: | ||
| ===== 4. Clone the OPNFV code git repository ===== | ===== 4. Clone the OPNFV code git repository ===== | ||
| So now we're coming to the fun part! Let's clone the code repository: | So now we're coming to the fun part! Let's clone the code repository: | ||
| - | git clone ssh://<Linux foundation user>@gerrit.opnfv.org:29418/genesis | + | git clone https://gerrit.opnfv.org/gerrit/fuel |
| - | + | ||
| - | Change the directory to "fuel-build" | + | Change the directory to "build" |
| - | cd fuel-build/ | + | cd build/ |
| ===== 5. Set up (build) your build environment ===== | ===== 5. Set up (build) your build environment ===== | ||
| //YOU DO NOT NEED TO SET UP YOUR BUILD ENVIRONMENT, THE TOP MAKE ALL TARGET WILL DO THAT FOR YOU IF NOT ALREADY DONE, | //YOU DO NOT NEED TO SET UP YOUR BUILD ENVIRONMENT, THE TOP MAKE ALL TARGET WILL DO THAT FOR YOU IF NOT ALREADY DONE, | ||
| Line 62: | Line 63: | ||
| This will: | This will: | ||
| - | I * f not allready existing, initialize the docker build environment | + | * If not allready existing, initialize the docker build environment |
| * If not already done, build fuel from upstream | * If not already done, build fuel from upstream | ||
| * Build the defined derivate of fuel (as defined by the structure of this framework) | * Build the defined derivate of fuel (as defined by the structure of this framework) | ||
| If the build is successful, you will find the generated ISO file in the release subdirectory! | If the build is successful, you will find the generated ISO file in the release subdirectory! | ||
| + | |||
| + | If error "debconf: unable to initialize frontend: Dialog" is generated, add following envvar in docker/ubuntu-builder/Dockerfile: | ||
| + | ENV DEBIAN_FRONTEND noninteractive | ||
| ---- | ---- | ||
| Now the tricky part - to deploy. This is under development and will be scripted in more detail. | Now the tricky part - to deploy. This is under development and will be scripted in more detail. | ||