This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
esxi:photon_os [2024/07/26 11:58] derek |
esxi:photon_os [2024/09/22 19:51] (current) |
||
---|---|---|---|
Line 36: | 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 53: | 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/" | 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/" | ||
- | # Remove docker related packages if not needed to save space and faster updates | ||
- | tdnf erase containerd docker docker-cli docker-engine | ||
exit | exit | ||
</ | </ |