From 477d189d168e2026ff1bae8842dcf5906ff5bdd5 Mon Sep 17 00:00:00 2001 From: pnetlabrepo <115958905+pnetlabrepo@users.noreply.github.com> Date: Tue, 31 Jan 2023 16:18:05 -0300 Subject: [PATCH] Create README.md --- upgrades/from_any_to_5.3.4/README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 upgrades/from_any_to_5.3.4/README.md diff --git a/upgrades/from_any_to_5.3.4/README.md b/upgrades/from_any_to_5.3.4/README.md new file mode 100644 index 0000000..b3e1470 --- /dev/null +++ b/upgrades/from_any_to_5.3.4/README.md @@ -0,0 +1,27 @@ +```linux +This script allows to upgrade PNETLab from almost any version to v5.3.4 +It cannot be used when version is 6.x + +File 5.3.4.zip will be downloaded from unetlab.cloud +``` +## upgrade.sh + +`This script cannot be used in cases where PNETLab version is 6.x: An error message will be displayed and the script execution will be finished` + +`Also, this script detects if you already have PNETLab v5.3.4 in your system and avoids to upgrade twice` + +### Upgrade +Apply this command using the terminal +```linux +wget -O upgrade.sh https://raw.githubusercontent.com/pnetlabrepo/ishare2/main/upgrades/from_any_to_5.3.4/upgrade.sh > /dev/null 2>&1 && chmod +x upgrade.sh && bash upgrade.sh +``` + +After a few seconds, the upgrade will be done. + +Note: This upgrade does not use ishare2: + +When you execute the command from above, the steps are as follows: + +1) A file called [upgrade.sh](https://raw.githubusercontent.com/pnetlabrepo/ishare2/main/upgrades/from_any_to_5.3.4/upgrade.sh) will be downloaded from this repository +2) Execution permissions will be made to this file +3) This script will be executed in order to make the upgrade