jason revised this gist . Go to revision
No changes
jason revised this gist . Go to revision
1 file changed, 4 deletions
BlueOnyx.md
@@ -24,10 +24,6 @@ biosdevname=0 net.ifnames=0 | |||
24 | 24 | grub2-mkconfig -o /boot/grub2/grub.cfg && reboot | |
25 | 25 | ``` | |
26 | 26 | ||
27 | - | ```shell | |
28 | - | reboot | |
29 | - | ``` | |
30 | - | ||
31 | 27 | ## Install blueonyx | |
32 | 28 | ||
33 | 29 | ```shell |
jason revised this gist . Go to revision
1 file changed, 3 insertions, 3 deletions
BlueOnyx.md
@@ -7,9 +7,9 @@ echo "blueonyx" | passwd --stdin root | |||
7 | 7 | ## Disable selinux | |
8 | 8 | ||
9 | 9 | ```shell | |
10 | - | sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config && | |
11 | - | sed -i 's/^GRUB_ENABLE_BLSCFG=.*/GRUB_ENABLE_BLSCFG=false/g' /etc/default/grub && | |
12 | - | rm -Rf /boot/loader/entries/* && | |
10 | + | sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config | |
11 | + | sed -i 's/^GRUB_ENABLE_BLSCFG=.*/GRUB_ENABLE_BLSCFG=false/g' /etc/default/grub | |
12 | + | rm -Rf /boot/loader/entries/* | |
13 | 13 | ``` | |
14 | 14 | ||
15 | 15 | ## Enable old style network |
jason revised this gist . Go to revision
1 file changed, 4 insertions, 1 deletion
BlueOnyx.md
@@ -10,7 +10,6 @@ echo "blueonyx" | passwd --stdin root | |||
10 | 10 | sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config && | |
11 | 11 | sed -i 's/^GRUB_ENABLE_BLSCFG=.*/GRUB_ENABLE_BLSCFG=false/g' /etc/default/grub && | |
12 | 12 | rm -Rf /boot/loader/entries/* && | |
13 | - | reboot | |
14 | 13 | ``` | |
15 | 14 | ||
16 | 15 | ## Enable old style network | |
@@ -25,6 +24,10 @@ biosdevname=0 net.ifnames=0 | |||
25 | 24 | grub2-mkconfig -o /boot/grub2/grub.cfg && reboot | |
26 | 25 | ``` | |
27 | 26 | ||
27 | + | ```shell | |
28 | + | reboot | |
29 | + | ``` | |
30 | + | ||
28 | 31 | ## Install blueonyx | |
29 | 32 | ||
30 | 33 | ```shell |
jason revised this gist . Go to revision
1 file changed, 6 insertions
BlueOnyx.md
@@ -1,3 +1,9 @@ | |||
1 | + | ## Set password | |
2 | + | ||
3 | + | ```shell | |
4 | + | echo "blueonyx" | passwd --stdin root | |
5 | + | ``` | |
6 | + | ||
1 | 7 | ## Disable selinux | |
2 | 8 | ||
3 | 9 | ```shell |
jason revised this gist . Go to revision
1 file changed, 4 insertions, 1 deletion
BlueOnyx.md
@@ -1,7 +1,10 @@ | |||
1 | 1 | ## Disable selinux | |
2 | 2 | ||
3 | 3 | ```shell | |
4 | - | sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config && reboot | |
4 | + | sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config && | |
5 | + | sed -i 's/^GRUB_ENABLE_BLSCFG=.*/GRUB_ENABLE_BLSCFG=false/g' /etc/default/grub && | |
6 | + | rm -Rf /boot/loader/entries/* && | |
7 | + | reboot | |
5 | 8 | ``` | |
6 | 9 | ||
7 | 10 | ## Enable old style network |
jason revised this gist . Go to revision
1 file changed, 1 insertion, 1 deletion
BlueOnyx.md
@@ -13,7 +13,7 @@ vi /etc/default/grub | |||
13 | 13 | biosdevname=0 net.ifnames=0 | |
14 | 14 | ``` | |
15 | 15 | ```shell | |
16 | - | grub2-mkconfig -o /boot/grub2/grub.cfg | |
16 | + | grub2-mkconfig -o /boot/grub2/grub.cfg && reboot | |
17 | 17 | ``` | |
18 | 18 | ||
19 | 19 | ## Install blueonyx |
jason revised this gist . Go to revision
1 file changed, 12 insertions
BlueOnyx.md
@@ -4,6 +4,18 @@ | |||
4 | 4 | sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config && reboot | |
5 | 5 | ``` | |
6 | 6 | ||
7 | + | ## Enable old style network | |
8 | + | ||
9 | + | ```shell | |
10 | + | vi /etc/default/grub | |
11 | + | ``` | |
12 | + | ```text | |
13 | + | biosdevname=0 net.ifnames=0 | |
14 | + | ``` | |
15 | + | ```shell | |
16 | + | grub2-mkconfig -o /boot/grub2/grub.cfg | |
17 | + | ``` | |
18 | + | ||
7 | 19 | ## Install blueonyx | |
8 | 20 | ||
9 | 21 | ```shell |
jason revised this gist . Go to revision
1 file changed, 12 insertions, 3 deletions
BlueOnyx.md
@@ -7,13 +7,22 @@ sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config && reboot | |||
7 | 7 | ## Install blueonyx | |
8 | 8 | ||
9 | 9 | ```shell | |
10 | - | if curl -q -LSsf http://devel.blueonyx.it/pub/5211R.rpm -o /tmp/blueonyx.rpm; then | |
11 | - | if yum localinstall -y /tmp/blueonyx.rpm;then | |
10 | + | if yum install -yy http://devel.blueonyx.it/pub/5211R.rpm; then | |
11 | + | if yum groupinstall -yy blueonyx;then | |
12 | 12 | yum clean all | |
13 | - | if yum update -y && yum groupinstall -y blueonyx; then | |
13 | + | if yum update -yy; then | |
14 | 14 | sh /usr/sausalito/scripts/initServices.sh | |
15 | + | else | |
16 | + | exitStatus=1 | |
15 | 17 | fi | |
18 | + | else | |
19 | + | exitStatus=1 | |
16 | 20 | fi | |
21 | + | else | |
22 | + | exitStatus=1 | |
23 | + | fi | |
24 | + | if [ -z "$exitStatus" ]; then | |
25 | + | echo "bluonyx has been installed" | |
17 | 26 | fi | |
18 | 27 | ``` | |
19 | 28 |
jason revised this gist . Go to revision
1 file changed, 13 insertions, 14 deletions
BlueOnyx.md
@@ -4,6 +4,19 @@ | |||
4 | 4 | sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config && reboot | |
5 | 5 | ``` | |
6 | 6 | ||
7 | + | ## Install blueonyx | |
8 | + | ||
9 | + | ```shell | |
10 | + | if curl -q -LSsf http://devel.blueonyx.it/pub/5211R.rpm -o /tmp/blueonyx.rpm; then | |
11 | + | if yum localinstall -y /tmp/blueonyx.rpm;then | |
12 | + | yum clean all | |
13 | + | if yum update -y && yum groupinstall -y blueonyx; then | |
14 | + | sh /usr/sausalito/scripts/initServices.sh | |
15 | + | fi | |
16 | + | fi | |
17 | + | fi | |
18 | + | ``` | |
19 | + | ||
7 | 20 | ## Install epel repo | |
8 | 21 | ||
9 | 22 | ```shell | |
@@ -63,20 +76,6 @@ sudo dnf install -y docker-ce docker-ce-cli containerd.io | |||
63 | 76 | sudo systemctl enable --now docker && reboot | |
64 | 77 | ``` | |
65 | 78 | ||
66 | - | ## Install blueonyx | |
67 | - | ||
68 | - | ```shell | |
69 | - | if curl -q -LSsf http://devel.blueonyx.it/pub/5211R.rpm -o /tmp/blueonyx.rpm; then | |
70 | - | if yum localinstall -y /tmp/blueonyx.rpm;then | |
71 | - | yum clean all | |
72 | - | if yum update -y && yum groupinstall -y blueonyx; then | |
73 | - | sh /usr/sausalito/scripts/initServices.sh | |
74 | - | fi | |
75 | - | fi | |
76 | - | fi | |
77 | - | # | |
78 | - | ``` | |
79 | - | ||
80 | 79 | ## disable firewall | |
81 | 80 | ||
82 | 81 | ``` |