Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using juju local and I want to create a shared folder between the host and one of the juju machines.

How can I accomplish this?

I attempted these instructions with no success : https://en.opensuse.org/User:Tsu2/LXC_mount_shared_directory

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

There are no official juju ways of doing it, but the machines are just lxc containers.

You can stop the container and edit the config file for that container (found in /var/lib/lxc) and add a line to mount the folder.

The restart the container and the directory will be mounted.

share|improve this answer
    
Great, my problem was I was modifying the config file under /etc/lxc. Additionally, I will point out to anyone that the config files are auto generated so by modifying the template config file (/var/lib/lxc/{ubuntu-version}-template/{configFileNamw}) the change will not be carried over. –  schoeffman Apr 24 at 11:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.