Skip to content

Commit 5694966

Browse files
authored
Update README.md for easy deployment
Update README.md
1 parent 1f656e5 commit 5694966

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ _The current installation process does not work on Ubuntu 22.04_
8888
Run the following commands:
8989

9090
```
91-
sudo apt update; sudo apt install python3-pip sshpass git python3-virtualenv python3.9
91+
sudo apt update; sudo apt install python3-pip sshpass git python3.9-venv python3.9-dev python3.9 -y
9292
```
9393

9494
#### Pulling optscale-deploy scripts
@@ -125,13 +125,11 @@ ansible-playbook -e "ansible_ssh_user=<user>" -k -K -i "<ip address>," ansible/k
125125
```
126126

127127
where `<user>` - actual username; `<ip address>` - host ip address,
128-
ip address should be private address of the machine, you can check it with
128+
ip address should be private address of the machine, you can check it with the command `ip a`.
129129

130-
```
131-
ip a
132-
```
130+
**Note:** do not use `127.0.0.1` or `localhost` as the hostname. Instead, prefer providing the server's hostname (check with the command `hostname`) and make sure it is resolveable from host that the Ansible Playbooks ran from (if needed, add to the ``/etc/hosts`` files).
133131

134-
If your deployment server is the service-host server, add `"ansible_connection=local"` to the ansible command.
132+
If your deployment server is the service-host server, add `-e "ansible_connection=local"` to the ansible command.
135133

136134
#### Creating user overlay
137135

0 commit comments

Comments
 (0)