Papiris
f288ccea7e
Remove trailing whitespace ( #9362 )
...
* Remove trailing whitespace from install.sh
Signed-off-by: Papiris <contributions@ingeniorskap.no>
* Update install.sh.sha256sum
Signed-off-by: Papiris <contributions@ingeniorskap.no>
---------
Signed-off-by: Papiris <contributions@ingeniorskap.no>
2 months ago
Brad Davidson
649678bd89
Fix k3s-killall.sh support for custom data dir
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
3 months ago
ChrisBeaker
019b0afdd8
Fix: Add $SUDO prefix to transactional-update commands in install script ( #10531 )
...
* Fix: Add $SUDO prefix to transactional-update commands in install script
This commit addresses an issue in the k3s install script where the transactional-update commands did not include the $SUDO variable. This omission caused the script to fail if sudo was not used. Adding the $SUDO prefix ensures that the script runs correctly in all environments.
Signed-off-by: ChrisBeaker <christian.siebigteroth@suse.com>
Signed-off-by: Derek Nola <derek.nola@suse.com>
3 months ago
Derek Nola
acb71ee379
Allow Amazon Linux 2 rpm installs
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
4 months ago
Derek Nola
79ec016b6d
Allow kylin V10 rpm installs
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
Co-Authored-By: ErikJang <81848652+erikjang@users.noreply.github.com>
4 months ago
Derek Nola
8ff7d162cc
Allow fedora iot rpm installs
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
Co-Authored-By: Blayne Campbell <5565939+bcambl@users.noreply.github.com>
4 months ago
Derek Nola
45c04f3502
Allow Amazon Linux 2023 rpm installs
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
Co-Authored-By: ahmedali6 <87921765+ahmedali6@users.noreply.github.com>
4 months ago
Vitor Savian
3aceb85c22
Add a change for killall to not unmount server and agent directory
...
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
Add recursive search and deletion of unmounted/mounted dirs in killall
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
Only clean the server and agent directory if it is uninstall
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
Add uninstall test to check mount points
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
Add uninstall test in CI
Signed-off-by: Vitor Savian <vitor.savian@suse.com>
4 months ago
Jake Hyde
b045465178
Add data-dir to uninstall and killall scripts
...
Signed-off-by: Jake Hyde <jakefhyde@gmail.com>
4 months ago
Brad Davidson
d1709d60ce
Fix INSTALL_K3S_PR support
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
4 months ago
Derek Nola
4204248bc3
Check for bad token permissions when install via PR ( #10387 )
...
* Check for bad token permissions when install via PR
Signed-off-by: Derek Nola <derek.nola@suse.com>
5 months ago
Brad Davidson
e8950a0a3b
Fix issue installing artifacts from builds with multiple runs
...
Also makes error handling and variable capitalization consistent with other functions.
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
6 months ago
Derek Nola
3e948aa0d5
Correct formatting of GH PR sha256sum artifact ( #9472 )
...
* Conform to how the install script wants the sha256sum name
* Remove no-op sed for GH PR install
Signed-off-by: Derek Nola <derek.nola@suse.com>
9 months ago
Mikhail Vorobyov
701e7e45ce
Fix iptables check when sbin isn't in user PATH
...
Signed-off-by: Mikhail Vorobyov <mikhail.vorobev@uni.lu>
10 months ago
Derek Nola
fcd1108e73
Add ability to install K3s PR Artifact from GitHub ( #9185 )
...
* Add support for INSTALL_K3s_PR
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Add sha256sum to K3s PR artifacts
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Update install sha256sum
Signed-off-by: Derek Nola <derek.nola@suse.com>
* Revert whitespace changes
Signed-off-by: Derek Nola <derek.nola@suse.com>
---------
Signed-off-by: Derek Nola <derek.nola@suse.com>
10 months ago
ifNil
102ff76328
Print error when downloading file error inside install script ( #6874 )
...
* Print error when downloading file error inside install script
* Update install.sh.sha256sum
Signed-off-by: yhw <2278069802@qq.com>
11 months ago
Brad Davidson
08ccea5cb6
Fix install script checksum
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
11 months ago
Manuel Buil
30449e0128
Add 2>dev/null when checking nm-cloud systemd unit
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
11 months ago
Derek Nola
fa4c180637
Update install.sh sha256sum ( #8885 )
...
Signed-off-by: Derek Nola <derek.nola@suse.com>
1 year ago
Samuel Mutel
19fd7e38f6
enh: Force umount for NFS mount (like with longhorn)
...
Signed-off-by: Samuel Mutel <12967891+smutel@users.noreply.github.com>
1 year ago
Brad Davidson
bbafb86e91
Don't use iptables-save/iptables-restore if it will corrupt rules
...
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
1 year ago
Hussein Galal
112e1339b7
Restore selinux context systemd unit file ( #8593 )
...
* Restore context of systemd unit file
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* Restore context of systemd unit file
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
* update the hash of install.sh file
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
---------
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
1 year ago
Manuel Buil
e33359d375
Update install.sh.sha256sum
...
Signed-off-by: Manuel Buil <mbuil@suse.com>
1 year ago
Jose D. Gomez R
79b44cee29
Create and validate install.sh signatures ( #8312 )
...
- SHA256 Signature of the install script
- Added a sha256sum invocations in the validate script.
These calls will validate that the install script signatures
match. And when the script is changed the signatures must be
recalculated as reported by the error message in sha256sum.
Signed-off-by: Jose D. Gomez R <jose.gomez@suse.com>
1 year ago