Change-Id: I7782b8adcdd46d3805d13eb5f25bcffec0c3aebf
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4227
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Priyesh Padmavilasom <ppadmavilasom@vmware.com>
... | ... |
@@ -668,7 +668,7 @@ net.set_ntp_servers(ntpservers = ["server1", "server2", ...]) |
668 | 668 |
~~~~ |
669 | 669 |
**Parameters** |
670 | 670 |
|
671 |
-- ``ntpservers`` - Comma-separated list of NTP servers to remove from the list. |
|
671 |
+- ``ntpservers`` - Comma-separated list of NTP servers to set in the list. |
|
672 | 672 |
|
673 | 673 |
**Returns** |
674 | 674 |
|
... | ... |
@@ -190,6 +190,8 @@ One notable difference between the two versions of Photon OS pertains to OpenJDK |
190 | 190 |
openjre x86_64 1.8.0.92-1.ph1 95.09 M |
191 | 191 |
openjdk x86_64 1.8.0.92-1.ph1 37.63 M |
192 | 192 |
|
193 |
+**NOTE:** openjdk and openjre are available as openjdk8 and openjre8 in Photon OS 2.0 |
|
194 |
+ |
|
193 | 195 |
A later section covers tdnf. |
194 | 196 |
|
195 | 197 |
### The Root Account and the `sudo` and `su` Commands |
... | ... |
@@ -13,7 +13,7 @@ Photon OS 2.0 provides the Photon Management Daemon command line interface (pmd- |
13 | 13 |
|
14 | 14 |
The pmd-cli utility is included with your Photon OS 2.0 distribution. To make sure that you have the latest version, you can run: |
15 | 15 |
~~~~ |
16 |
-tndf install pmd-cli |
|
16 |
+tdnf install pmd-cli |
|
17 | 17 |
~~~~ |
18 | 18 |
# Syntax |
19 | 19 |
~~~~ |
... | ... |
@@ -105,6 +105,11 @@ pmd-cli firewall rules --chain <chain_name> --delete <rule_specification> |
105 | 105 |
~~~~ |
106 | 106 |
**Note:** To confirm that the firewall rule was removed, run iptables -S. Running pmd-cli firewall rules lists only persistent rules. |
107 | 107 |
|
108 |
+Make firewall rule changes peristent (add --persist flag) |
|
109 |
+~~~~ |
|
110 |
+pmd-cli firewall rules --chain <chain_name> --add <rule_specification> --persist |
|
111 |
+~~~~ |
|
112 |
+ |
|
108 | 113 |
## firewall version |
109 | 114 |
|
110 | 115 |
Get the version number of the fwmgmt component on the server. |