Skip to content

Commit

Permalink
ensure we add hostnames to /etc/hosts
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
  • Loading branch information
vsoch committed Dec 17, 2023
1 parent 19cb0a7 commit b44fecb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions usernetes/scripts/cloud-init.sh
Expand Up @@ -5,6 +5,13 @@ curl https://www-csp.llnl.gov/content/assets/csoc/cspca.crt > cspca.crt
cp cspca.crt /usr/local/share/ca-certificates
update-ca-certificates

# Add other nodes to /etc/hosts, manual and not great, but will get the job done!
# These are in ansible-hosts
echo "192.168.65.121 u2204-01" >> /etc/hosts
echo "192.168.65.122 u2204-02" >> /etc/hosts
echo "192.168.65.123 u2204-03" >> /etc/hosts
echo "192.168.65.124 u2204-04" >> /etc/hosts

wget https://raw.githubusercontent.com/converged-computing/flux-lima/main/usernetes/scripts/install-flux.sh
wget https://raw.githubusercontent.com/converged-computing/flux-lima/main/usernetes/scripts/install-usernetes.sh
chmod +x ./install-flux.sh
Expand Down

0 comments on commit b44fecb

Please sign in to comment.