On Sun, Dec 10, 2017 at 3:00 AM Naas Si Ahmed <naas.si.ah...@gmail.com>
wrote:

> Hi,
>
> I'm trying to modify a file using the command vi or nano to edit a file on
> a juju container, but I'm receiving an error such : terminal unknown.
>

In recent versions of Juju, "juju run" does not offer the ability to run
interactive commands.

Is there any way that I can use to edit a file graphically from another
> juju container ?
>

You can use "juju ssh" to SSH to the machine: "juju ssh 8 vi
/etc/conf.rules".

The juju command I used is :
> Juju run "vi /etc/conf.rules" --machine =8
>
> Thank you,
> Ahmed.
> --
> Juju mailing list
> Juju@lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to