From f2f415a1c87d4e35f417380b1e492860db3ece17 Mon Sep 17 00:00:00 2001 From: micafer Date: Thu, 28 Jan 2016 12:06:39 +0100 Subject: [PATCH] Update README --- README | 7 ++++++- README.md | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/README b/README index 8ba625ef5..6cfffebdb 100644 --- a/README +++ b/README @@ -52,9 +52,14 @@ However, if you install IM from sources you should install: [defaults] transport = smart host_key_checking = False + # For old versions 1.X sudo_user = root sudo_exe = sudo + # For new versions 2.X + become_user = root + become_method = sudo + [paramiko_connection] record_host_keys=False @@ -181,4 +186,4 @@ default configuration. Information about this image can be found here: https://r How to launch the IM service using docker: - $ sudo docker run -d -p 8899:8899 --name im grycap/im \ No newline at end of file + $ sudo docker run -d -p 8899:8899 -p 8800:8800 --name im grycap/im \ No newline at end of file diff --git a/README.md b/README.md index 660a30fbf..7710799fe 100644 --- a/README.md +++ b/README.md @@ -58,9 +58,14 @@ However, if you install IM from sources you should install: [defaults] transport = smart host_key_checking = False +# For old versions 1.X sudo_user = root sudo_exe = sudo +# For new versions 2.X +become_user = root +become_method = sudo + [paramiko_connection] record_host_keys=False @@ -204,5 +209,5 @@ default configuration. Information about this image can be found here: https://r How to launch the IM service using docker: ```sh -sudo docker run -d -p 8899:8899 --name im grycap/im +sudo docker run -d -p 8899:8899 -p 8800:8800 --name im grycap/im ```