【发布时间】:2021-05-22 17:45:35
【问题描述】:
最近我将 SLES 映像从 AWS 迁移到 GCP,当我尝试使用命令 zypper ref 更新存储库时,我意识到 zypper 无法正常工作,因为实例未正确注册为 Cloud SLES。
我在 GCP 中创建了一个新的 SLES 实例来检查 zypper 配置,并在 /etc/hosts 中发现有一个 GCP SMT 服务器条目。
我回到 GCP 中迁移的计算引擎,更新了 /etc/hosts 并运行了以下命令:
SUSEConnect --status
SUSEConnect --cleanup
/usr/sbin/registercloudguest
它没有用。
我什至尝试通过 gcloud https://cloud.google.com/sdk/gcloud/reference/compute/images/create 复制带有 --licenses 标志的机器映像,但仍然没有成功。
有人有什么建议吗?
【问题讨论】:
标签: amazon-web-services google-cloud-platform google-compute-engine suse