Skip to content

Commit

Permalink
centos10stream
Browse files Browse the repository at this point in the history
  • Loading branch information
karmab committed Dec 19, 2024
1 parent 8e352f8 commit 851cbc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion kvirt/common/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ def get_user(image):
user = getuser()
elif 'rhel' in image.lower() and not image.startswith('RHEL-'):
user = 'cloud-user'
elif 'centos9stream' in image.lower():
elif 'centos9stream' in image.lower() or 'centos10stream' in image.lower():
user = 'cloud-user'
elif 'centos' in image.lower() and not image.startswith('ibm'):
user = 'centos'
Expand Down
1 change: 1 addition & 0 deletions kvirt/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
'centos7': f'{CENTOS}/7/images/CentOS-7-x86_64-GenericCloud.qcow2',
'centos8stream': f'{CENTOS}/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-latest.x86_64.qcow2',
'centos9stream': f'{CENTOS}/9-stream/x86_64/images/CentOS-Stream-GenericCloud-9-latest.x86_64.qcow2',
'centos10stream': f'{CENTOS}/10-stream/x86_64/images/CentOS-Stream-GenericCloud-10-latest.x86_64.qcow2',
'cirros': 'http://download.cirros-cloud.net/0.5.2/cirros-0.5.2-x86_64-disk.img',
'debian10': f'{DEBIAN}/openstack/current-10/debian-10-openstack-amd64.qcow2',
'debian11': f'{DEBIAN}/cloud/bullseye/latest/debian-11-generic-amd64.qcow2',
Expand Down

0 comments on commit 851cbc1

Please sign in to comment.