Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
michellew-vmware opened this issue Aug 4, 2021 · 2 comments
Open

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

michellew-vmware opened this issue Aug 4, 2021 · 2 comments
Labels

Comments

@michellew-vmware
Copy link

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

@ssahani ssahani added the RFE label Aug 4, 2021
@ssahani
Copy link
Contributor

ssahani commented Aug 4, 2021

Yeah we could copy those. Will open a PR.

@ssahani
Copy link
Contributor

ssahani commented Aug 5, 2021

➜  yum.repos.d ls
photon-debuginfo.repo  photon-extras.repo  photon-iso.repo  photon-release.repo  photon.repo  photon-updates.repo
➜  yum.repos.d 

Yes in my vm current_repo.repo does not exist. From where it came from ? How do we install it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants