Replies: 1 comment 7 replies
-
You should be able to do this with a "data" provisioning file. Something like: provision:
- mode: data
file: files/local-yum.repo
path: /var/www/html/yum/local-yum.repo This also requires Lima 1.1.0-alpha.0 or later. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's say I have a directory with my project files:
In my oraclelinux9.yaml file, I have a provision section where I want to copy the
files/local-yum.repo
file to some other directory in the VM.For example:
In addition to specifying a relative path, I tried specifying
cp $LIMA_WORKDIR/files/local-yum.repo /var/www/html/yum/
but that doesn't work. I also tried adding a mount so I could predict where in the VM it will show up but that doesn't seem to be working either. What is the best way to do this?Beta Was this translation helpful? Give feedback.
All reactions