User Tools

Site Tools


esxi:photon_os

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
esxi:photon_os [2024/07/25 15:51]
derek
esxi:photon_os [2024/09/22 19:51] (current)
Line 5: Line 5:
 Setup minimal installed profile of PhotonOS Setup minimal installed profile of PhotonOS
  
-  * Download the Photon OS ''OVA with virtual hardware v13'' from [[https://github.com/vmware/photon/wiki/Downloading-Photon-OS]]+  * Download the latest Photon OS ''OVA with virtual hardware v15'' from [[https://github.com/vmware/photon/wiki/Downloading-Photon-OS]]
   * In ESXi:   * In ESXi:
     * ''Create/Register VM'':     * ''Create/Register VM'':
Line 22: Line 22:
     * Go to ''Virtual Machines'' on the sidebar and click on the current VM     * Go to ''Virtual Machines'' on the sidebar and click on the current VM
     * ''Actions'' > ''Edit Settings'':     * ''Actions'' > ''Edit Settings'':
-      * ''CPU'' > Enable ''Expose hardware assisted virtualization to the guest OS''+      * Set the required CPU and Memory requirements
       * If using NVMe storage for the datastore:       * If using NVMe storage for the datastore:
         * ''Add other device'' > ''NVMe controller''         * ''Add other device'' > ''NVMe controller''
Line 28: Line 28:
         * Save and reopen ''Edit Settings''         * Save and reopen ''Edit Settings''
         * Remove ''SCSI controller 0''         * Remove ''SCSI controller 0''
-      * FIXME: NOTE: Disable ''Secure Boot'' because of an issue after updating, see [[https://github.com/vmware/photon/issues/974|Issue #974]] 
       * Select other appropriate VM settings depending on desired applications       * Select other appropriate VM settings depending on desired applications
     * Power on the VM, then shut it down again to generate a MAC address     * Power on the VM, then shut it down again to generate a MAC address
Line 37: Line 36:
 # Login with root details from the VM note # Login with root details from the VM note
 # Follow instructions to set new password # Follow instructions to set new password
 +
 +# Remove docker related packages if not needed to save space and faster updates
 +tdnf erase containerd docker docker-cli docker-engine
  
 # Update packages: # Update packages:
 tdnf upgrade tdnf upgrade
 +tdnf clean all
  
 # Disable password expiry: # Disable password expiry:
Line 54: Line 57:
 sed -i "s/-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT/-A INPUT -p tcp -m tcp --dport 50001 -m state --state NEW -j ACCEPT/" /etc/systemd/scripts/ip4save sed -i "s/-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT/-A INPUT -p tcp -m tcp --dport 50001 -m state --state NEW -j ACCEPT/" /etc/systemd/scripts/ip4save
  
-# Remove docker related packages if not needed to save space and faster updates 
-tdnf erase containerd docker docker-cli docker-engine 
 exit exit
 </code> </code>
esxi/photon_os.1721922666.txt.gz · Last modified: 2024/09/22 19:51 (external edit)