Skip to content

AliyunLinux2 创建快照/镜像 后产生无用的 aliyun-base.repo 引起报错 #4

Description

@ivmm

[问题描述]:

  1. 用公共镜像,yum update 了一下系统

  2. 制作快照

  3. 停机后回滚快照,生成了 aliyun-base 的repo。 (初步怀疑是cloud-init出来的,因为初始的公共镜像只有 AliYun 的 repo)

  4. 里面的baseurl是 http://mirrors.cloud.aliyuncs.com/aliyunlinux/15.01/os/$basearch/, 这个地址下只有 15.01 的老的库,没有2版本的库,引用系统变量,yum 就会报错。

有修改 os-release 和 alinux-release 为 CentOS,可能会成为干扰项导致cloud-init出错

[建议方案]:

修复 cloud-init 相关问题

已经同步至聆听平台: https://connect.aliyun.com/suggestion/142611

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions