From 9b6e235b7487e6476e12b09830babbae4ccd6922 Mon Sep 17 00:00:00 2001 From: pnetlabrepo <115958905+pnetlabrepo@users.noreply.github.com> Date: Mon, 23 Jan 2023 01:40:26 -0300 Subject: [PATCH] Create README.md --- upgrades/from_any_to_5.2.9/README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 upgrades/from_any_to_5.2.9/README.md diff --git a/upgrades/from_any_to_5.2.9/README.md b/upgrades/from_any_to_5.2.9/README.md new file mode 100644 index 0000000..86cda16 --- /dev/null +++ b/upgrades/from_any_to_5.2.9/README.md @@ -0,0 +1,27 @@ +```linux +This script allows to upgrade PNETLab from almost any version to v5.2.9 +It cannot be used when version is 6.x + +File 5.2.9.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.2.9 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.2.9/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.2.9/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