Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
Merge pull request #428 from tpepper/cnci_scripting
Browse files Browse the repository at this point in the history
ciao-cnci-agent: minor fixups
  • Loading branch information
Samuel Ortiz authored Aug 4, 2016
2 parents dd98c89 + 8a95ad8 commit f857ab7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
8 changes: 5 additions & 3 deletions networking/ciao-cnci-agent/scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ the certificates it needs to connect to the ciao-scheduler.
```
cd $GOPATH/src/github.com/01org/ciao/networking/ciao-cnci-agent
go install
3. Download the appropriate version image and run the modification script:
```
3. Update the image
```
./generate_cnci_cloud_image.sh --image <cnci-image>
cd scripts
curl -O https://download.clearlinux.org/demos/ciao/clear-${VERSION}-ciao-networking.img.xz
xz --decompress clear-${VERSION}-ciao-networking.img.xz
./generate_cnci_cloud_image.sh --image clear-${VERSION}-ciao-networking.img
```
This will yield a provisioned image. This can be used as a CNCI VM.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ retry=0
until [ $retry -ge 3 ]
do
sudo udevadm settle
sudo partprobe /dev/nbd0
sudo mount /dev/nbd0p$partition "$tmpdir" && break
let retry=retry+1
echo "Mount failed, retrying $retry"
Expand Down

0 comments on commit f857ab7

Please sign in to comment.