We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 253fc5f commit 8423043Copy full SHA for 8423043
cookbooks/aws-parallelcluster-platform/resources/dcv/partial/_ubuntu_common.rb
@@ -81,4 +81,20 @@ def optionally_disable_rnd
81
command "sed --in-place '/RANDFILE/d' /etc/ssl/openssl.cnf"
82
end
83
84
+
85
+ def post_install
86
+ # ubuntu-desktop comes with NetworkManager. On a cloud instance NetworkManager is unnecessary and causes delay.
87
+ # Instruct Netplan to use networkd for better performance
88
+ bash 'Instruct Netplan to use networkd' do
89
+ code <<-NETPLAN
90
+ set -e
91
+ cat > /etc/netplan/95-parallelcluster-force-networkd.yaml << 'EOF'
92
+network:
93
+ version: 2
94
+ renderer: networkd
95
+EOF
96
+ netplan apply
97
+ NETPLAN
98
+ end unless on_docker?
99
+ end
100
0 commit comments