Skip to content

Commit

Permalink
Switch to CentOS Stream distro
Browse files Browse the repository at this point in the history
  • Loading branch information
electrocucaracha committed Mar 1, 2022
1 parent f372654 commit 8138f51
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions ci/update_distros.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ function _get_box_current_version {
function _vagrant_pull {
local alias="$1"
local name="$2"
local vb_controller="${3:-IDE Controller}"

version=$(_get_box_current_version "$name")

Expand All @@ -61,7 +62,7 @@ function _vagrant_pull {
cat << EOT >> .distros_supported.yml
$alias:
name: $name
vb_controller: IDE Controller
vb_controller: $vb_controller
version: "$version"
EOT
}
Expand All @@ -85,7 +86,7 @@ cat << EOT > .distros_supported.yml
EOT

echo "centos:" >> .distros_supported.yml
_vagrant_pull "8" "generic/centos8"
_vagrant_pull "8" "centos/stream8" "IDE"
echo "ubuntu:" >> .distros_supported.yml
_vagrant_pull "focal" "generic/ubuntu2004"
echo "debian:" >> .distros_supported.yml
Expand Down
6 changes: 3 additions & 3 deletions distros_supported.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

centos:
8:
name: generic/centos8
vb_controller: IDE Controller
version: "3.6.4"
name: centos/stream8
vb_controller: IDE
version: "20210210.0"
ubuntu:
focal:
name: generic/ubuntu2004
Expand Down
2 changes: 1 addition & 1 deletion registry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ for kv in "tag=${OPENSTACK_TAG:-xena}" \
"base=${OS_KOLLA_BASE:-${ID,,}}" \
"threads=$(( num_cpus * 2 ))" \
"push_threads=$(( num_cpus * 4 ))"; do
sudo crudini --set /etc/kolla/kolla-build.ini DEFAULT "${kv%=*}" "${kv#*=}"
sudo -E "$(command -v crudini)" --set /etc/kolla/kolla-build.ini DEFAULT "${kv%=*}" "${kv#*=}"
done

bifrost_header=""
Expand Down
2 changes: 1 addition & 1 deletion samples/distributed/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Vagrant.configure("2") do |config|
node["volumes"].each do |volume|
volume_file = "#{node['name']}-#{volume['name']}.vdi"
v.customize ["createmedium", "disk", "--filename", volume_file, "--size", (volume["size"] * 1024)] unless File.exist?(volume_file)
v.customize ["storageattach", :id, "--storagectl", "IDE Controller", "--port", 1, "--device", 0, "--type", "hdd", "--medium", volume_file]
v.customize ["storageattach", :id, "--storagectl", box["vb_controller"], "--port", 1, "--device", 0, "--type", "hdd", "--medium", volume_file]
end
end
end
Expand Down

0 comments on commit 8138f51

Please sign in to comment.