1 個回答
- 最新
- 最多得票
- 最多評論
1
Hi,
You can get the hostname command using yum
yum install hostname
Another alternative would be to build your own customized image from amazoncorretto:17 with hostname preinstalled so as to avoid the need for any install during runtime.
--Syd
已回答 2 年前
相關內容
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
Yes, this seems to be the easiest fix.