Problem with editing file on container
Andrew Wilkins
andrew.wilkins at canonical.com
Mon Dec 11 00:54:46 UTC 2017
On Sun, Dec 10, 2017 at 3:00 AM Naas Si Ahmed <naas.si.ahmed at 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 at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20171211/b3e77e68/attachment.html>
More information about the Juju
mailing list