File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed
cookbooks/aws-parallelcluster-environment Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,6 @@ function create_keys() {
3838 ssh-keygen -t ecdsa -f " $FOLDER_PATH /ssh_host_ecdsa_key" -q -P " "
3939 ssh-keygen -t ed25519 -f " $FOLDER_PATH /ssh_host_ed25519_key" -q -P " "
4040 ssh-keygen -t rsa -f " $FOLDER_PATH /ssh_host_rsa_key" -q -P " "
41- if is_ubuntu; then
42- ssh-keygen -t dsa -f " $FOLDER_PATH /ssh_host_dsa_key" -q -P " "
43- fi
4441}
4542
4643function import_keys() {
@@ -50,7 +47,6 @@ function import_keys() {
5047 cp " $FOLDER_PATH /ssh_host_ed25519" * /etc/ssh/
5148 cp " $FOLDER_PATH /ssh_host_rsa" * /etc/ssh/
5249 if is_ubuntu; then
53- cp " $FOLDER_PATH /ssh_host_dsa" * /etc/ssh/
5450 chown root:root /etc/ssh/ssh_host_*
5551 chmod 600 /etc/ssh/ssh_host_* _key
5652 else
Original file line number Diff line number Diff line change 1111
1212key_types = %w( ecdsa ed25519 rsa )
1313is_ubuntu = os_properties . ubuntu?
14- if is_ubuntu
15- key_types << 'dsa'
16- end
1714
1815control 'head_node_directory_initialized' do
1916 only_if { instance . head_node? && node [ 'cluster' ] [ 'scheduler' ] != 'awsbatch' }
You can’t perform that action at this time.
0 commit comments