-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from stfc/add_image_create_notes
DOC: Add extra notes for uploading the image to readme
- Loading branch information
Showing
3 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
set -euxo pipefail | ||
|
||
cd /tmp | ||
python3 -m virtualenv octavia_disk_image_create | ||
# shellcheck source=/dev/null | ||
source octavia_disk_image_create/bin/activate | ||
|
||
git clone --depth=1 https://github.com/openstack/octavia | ||
DIB_REPO_PATH="$(pwd)/octavia" | ||
export DIB_REPO_PATH | ||
|
||
cd octavia/diskimage-create | ||
pip3 install -r requirements.txt | ||
|
||
./diskimage-create.sh -t raw -o "/output/amphora-x64-$(date +"%Y-%m-%d")-haproxy.raw" |