Merge "Enable image cache"
This commit is contained in:
commit
2cb082ddd8
10
run_tests.sh
10
run_tests.sh
@ -328,6 +328,16 @@ EOF
|
||||
fi
|
||||
)
|
||||
|
||||
# enable image cache to avoid downloading images frequently
|
||||
(
|
||||
localconf="/opt/stack/new/devstack/local.conf"
|
||||
cat <<EOF >>"$localconf"
|
||||
[[post-config|/etc/nova/nova.conf]]
|
||||
[xenserver]
|
||||
cache_images = all
|
||||
EOF
|
||||
)
|
||||
|
||||
# delete folders to save disk space
|
||||
sudo rm -rf /opt/git
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user