Author SHA1 Message Date
Brent YangandGitHub e1db2c4d52 Merge pull request #137 from bohanyang/july-2025-patch-1
Cloud-init: override ConfigDrive on OpenStack Nova
2025-07-12 19:43:45 +09:00
Brent YangandGitHub e5fd6e74c8 Cloud-init: override ConfigDrive on OpenStack Nova 2025-07-12 19:43:34 +09:00
Brent YangandGitHub 41b56c2fad Merge pull request #136 from bohanyang/july-2025-update
July 2025 Update
2025-07-12 18:01:59 +09:00
+1 -2
View File
@@ -878,8 +878,7 @@ EOF
[ "$bbr" = true ] && in_target '{ echo "net.core.default_qdisc=fq"; echo "net.ipv4.tcp_congestion_control=bbr"; } > /etc/sysctl.d/bbr.conf' [ "$bbr" = true ] && in_target '{ echo "net.core.default_qdisc=fq"; echo "net.ipv4.tcp_congestion_control=bbr"; } > /etc/sysctl.d/bbr.conf'
[ -n "$cidata" ] && in_target 'echo "{ datasource_list: [ NoCloud ], datasource: { NoCloud: { fs_label: ~ } } }" > /etc/cloud/cloud.cfg.d/99_mandate_nocloud.cfg' [ -n "$cidata" ] && in_target 'echo "{ datasource_list: [ NoCloud ], datasource: { ConfigDrive: { dsmode: disabled }, NoCloud: { fs_label: ~, dsmode: local } } }" > /etc/cloud/cloud.cfg.d/99_mandate_nocloud.cfg'
[ -n "$cidata" ] && in_target 'printf "%s\n%s\n" "policy: disabled" "datasource: NoCloud" > /etc/cloud/ds-identify.cfg'
late_command='true' late_command='true'
[ -n "$in_target_script" ] && late_command="$late_command; in-target sh -c '$in_target_script'" [ -n "$in_target_script" ] && late_command="$late_command; in-target sh -c '$in_target_script'"