Skip to content

Commit

Permalink
Merge branch 'devel'
Browse files Browse the repository at this point in the history
  • Loading branch information
maystery committed Oct 15, 2021
2 parents 1359e94 + 18dbe2d commit bc1d222
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,4 @@ dmypy.json
# Ignore all local history of files
.history

sphinx/env
8 changes: 7 additions & 1 deletion sphinx/source/user-doc-createinfra.rst
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ Nova
The identifier of the image on the cloud to be instantiated to realize a virtual machine.
``flavor_name``
The type of flavor to be instantiated through nova when realizing this virtual machine. This value refers to a flavour of the nova cloud. It determines the resources (CPU, memory, storage, networking) of the node.
``boot_from_volume``
Create a volume from the specified image and boot the instance from that volume. Can be used to start based on flavors without a root disk.
``server_name``
Optional. The hostname of the instantiated virtual machine.
``key_name``
Expand Down Expand Up @@ -223,7 +225,11 @@ Azure
``username``
The name of the admin user to create on the VM. Azure currently has the following restrictions on the username: must only contain letters, numbers, hyphens, and underscores and may not start with a hyphen or number, must not include reserved word, is between 1 and 64 characters long.
``password``
The password for the admin user.
Optional. The password for the admin user. If not set, then ``ssh_key_data`` must be defined.
``ssh_key_data``
Optional. The public part of the SSH key for the admin user. The content specified here will be placed into the admin user's authorized_keys file. If not set, then ``password`` must be defined.
``server_name``
Optional. The hostname of the instantiated virtual machine.
``vnet_name``
Optional. Name of the virtual network to use for the VM. If not specified, the Azure resource plugin will allocate a virtual network.
``nic_name``
Expand Down
Binary file modified tutorials/slurm-cluster.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion tutorials/slurm-cluster/nodes/cloud_init_worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ write_files:
chmod 755 /var/spool/slurmctld /var/spool/slurmd /run/slurm-llnl/ /var/log/slurm-llnl /run/slurm-llnl
bash /bin/wait-for-file.sh slurm.conf
cp /storage/slurm/slurm.conf /etc/slurm-llnl/slurm.conf
echo "$(slurmd -C 2>&1 | head -n 1) NodeAddr=$(hostname -I)" >> /etc/slurm-llnl/slurm.conf
echo "$(slurmd -C 2>&1 | head -n 1) NodeAddr=$(hostname -I | col1)" >> /etc/slurm-llnl/slurm.conf
cp /etc/slurm-llnl/slurm.conf /storage/slurm/slurm.conf
chmod 755 /storage/slurm/slurm.conf
chown nobody:nogroup /storage/slurm/slurm.conf
Expand Down

0 comments on commit bc1d222

Please sign in to comment.