User Tools

Site Tools


helpful_ubuntu_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
helpful_ubuntu_commands [2026/08/18 07:44] – mikehelpful_ubuntu_commands [2026/09/02 19:57] (current) – mike
Line 82: Line 82:
 ==== Ansible/Automation Related Info ==== ==== Ansible/Automation Related Info ====
      
-=== Generate password hashes (useful for Ansible playbooks amongst other things) ===+=== Generate password hashes (useful for Ansible playbooks, Ansible Vault, amongst other things) ===
   mkpasswd --method=sha-512   mkpasswd --method=sha-512
  
Line 133: Line 133:
   find the existing IP and change it to the desired IP; 'wq' out of the file   find the existing IP and change it to the desired IP; 'wq' out of the file
   sudo netplan apply   sudo netplan apply
 +  
 +  Update the /etc/hosts file accordingly
  
 === Changing the server's IP address from DHCP to static === === Changing the server's IP address from DHCP to static ===
helpful_ubuntu_commands.1787064268.txt.gz · Last modified: by mike

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki