mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 01:32:18 +02:00
add ConfigDrive to datasource_list in SharedfsVM (#11726)
This commit is contained in:
parent
2a802a3143
commit
7dd0d6e937
@ -49,6 +49,12 @@ setup_sharedfsvm() {
|
||||
|
||||
rm -f /etc/logrotate.d/cloud
|
||||
|
||||
# Enable cloud-init without any aid from ds-identify
|
||||
echo "policy: enabled" > /etc/cloud/ds-identify.cfg
|
||||
|
||||
# Add ConfigDrive to datasource_list
|
||||
sed -i "s/datasource_list: .*/datasource_list: ['ConfigDrive', 'CloudStack']/g" /etc/cloud/cloud.cfg.d/cloudstack.cfg
|
||||
|
||||
log_it "Starting cloud-init services"
|
||||
if [ -f /home/cloud/success ]; then
|
||||
systemctl stop cloud-init cloud-config cloud-final
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user