Skip to content

only by-default repo files are copied into container #1

@michellew-vmware

Description

@michellew-vmware

Hi Susant,

Do you have any comment on the above issue?
Container only copy the by-default repo files from vm and current_repo.repo is missed. Is it expecte?

Example:
root@ph-6324 [ ~/photon-os-container-builder ]# ls /etc/yum.repos.d/
current_repo.repo photon-debuginfo.repo photon-extras.repo photon-iso.repo photon-release.repo photon.repo photon-updates.repo

root@ph-6324 [ ~/photon-os-container-builder ]# systemd-run -M michellew --wait --pty /bin/bash -c "ls /etc/yum.repos.d/"
Running as unit: run-u4.service
Press ^] three times within 1s to disconnect TTY.
photon-debuginfo.repo photon-extras.repo photon-iso.repo photon-release.repo photon-updates.repo photon.repo
Finished with result: success
Main processes terminated with: code=exited/status=0
Service runtime: 15ms

Repro steps:
• ./bin/containerctl spawn michellew
• ./bin/containerctl start michellew
• systemd-run -M michellew --wait --pty /bin/bash -c "ls /etc/yum.repos.d/"

Thanks,
Michelle

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