setup_oob 0.0.3 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +27 -6
- data/bin/setup-oob +7 -3
- data/lib/setup_oob/command/smc.rb +2 -2
- data/lib/setup_oob/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 32005264f44b1b2011ce7eeac7d3acf8e9ef9dcdb6440e651ab820d51c1a1453
|
|
4
|
+
data.tar.gz: dca9b587bda6b30f55f10ae634aceed0a4414e7f0da399ba7d3fc4ec67118cd6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e35f9be2a758ace810e8d91eb758c1e80cc1fc8e5f8a03fcd42399e9412cfa7e00b39aac701d4569b045607019bbcc97c41e8c512c4800e1d0e16d870e7b7978
|
|
7
|
+
data.tar.gz: af6fc995333cf4f5d66b140f11b278f96f80e7113d5e3a3015be7f62505d69b353951fa02021c49b808a3426f092ecbb0e76ce5f53f1ff14c7bf3d61d41c84d0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.0
|
|
4
|
+
|
|
5
|
+
- Harden pipeline to prevent supply-chain vulnerabilities
|
|
6
|
+
- Bump to ruby 3.3 as minimum bersion
|
|
7
|
+
- Print help when no options are specified
|
|
8
|
+
- Various documentation improvements
|
|
9
|
+
|
|
3
10
|
## 0.0.3
|
|
4
11
|
|
|
5
12
|
- Update Ruby requirements
|
data/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Setup OOB
|
|
2
2
|
|
|
3
|
-
[](https://github.com/jaymzh/setup-oob/actions/workflows/lint.yml)
|
|
6
|
+
[](https://github.com/jaymzh/setup-oob/actions/workflows/dco.yml)
|
|
9
9
|
|
|
10
10
|
This is a utility for configuring out-of-band management systems from within
|
|
11
11
|
the running (Linux) OS.
|
|
@@ -54,6 +54,20 @@ devices, when vendor-specific tooling is required, it may fail without
|
|
|
54
54
|
specifying the password via `--old-password` (unless it's still the device
|
|
55
55
|
default).
|
|
56
56
|
|
|
57
|
+
## Installing
|
|
58
|
+
|
|
59
|
+
The easiest way to install is with gem:
|
|
60
|
+
|
|
61
|
+
```shell
|
|
62
|
+
gem install setup_oob
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
You can, alternatively simply run this from the repo:
|
|
66
|
+
|
|
67
|
+
```shell
|
|
68
|
+
./bin/setup-oob <options>
|
|
69
|
+
```
|
|
70
|
+
|
|
57
71
|
## SMC Licensing
|
|
58
72
|
|
|
59
73
|
Setup OOB can "activate" SMC systems for you. Automating this can be a bit
|
|
@@ -76,3 +90,10 @@ option.
|
|
|
76
90
|
|
|
77
91
|
Setup OOB requires `ipmitool` at a minimum. For SMC hosts, that is the only
|
|
78
92
|
requirement. For DRAC hosts, it also requires racadm.
|
|
93
|
+
|
|
94
|
+
## History
|
|
95
|
+
|
|
96
|
+
This is a fork of
|
|
97
|
+
[viariousinc/setup-oob](https://github.com/vicariousinc/setup-oob) which is
|
|
98
|
+
defunct. This is now the official respository, feel free to send PRs or issues
|
|
99
|
+
here.
|
data/bin/setup-oob
CHANGED
|
@@ -38,7 +38,7 @@ options = {
|
|
|
38
38
|
:level => Logger::INFO,
|
|
39
39
|
:host => 'localhost',
|
|
40
40
|
}
|
|
41
|
-
OptionParser.new do |opts|
|
|
41
|
+
parser = OptionParser.new do |opts|
|
|
42
42
|
opts.on(
|
|
43
43
|
'-l', '--log-level LEVEL', String, 'Logging level. Defaults to "info"'
|
|
44
44
|
) do |l|
|
|
@@ -122,10 +122,14 @@ OptionParser.new do |opts|
|
|
|
122
122
|
puts SetupOOB::VERSION
|
|
123
123
|
exit
|
|
124
124
|
end
|
|
125
|
-
end
|
|
125
|
+
end
|
|
126
|
+
|
|
127
|
+
parser.parse!
|
|
126
128
|
|
|
127
129
|
unless options[:type]
|
|
128
|
-
|
|
130
|
+
warn "ERROR: No type specified, please specify one with --type\n\n"
|
|
131
|
+
puts parse
|
|
132
|
+
exit(1)
|
|
129
133
|
end
|
|
130
134
|
|
|
131
135
|
puts "Configuring #{options[:host]}"
|
|
@@ -174,14 +174,14 @@ class SMCCommands
|
|
|
174
174
|
end
|
|
175
175
|
|
|
176
176
|
class Networkmode < SMCCommandBase
|
|
177
|
-
private
|
|
178
|
-
|
|
179
177
|
MODES = {
|
|
180
178
|
:dedicated => 0x00,
|
|
181
179
|
:shared => 0x01,
|
|
182
180
|
:failover => 0x02,
|
|
183
181
|
}.freeze
|
|
184
182
|
|
|
183
|
+
private
|
|
184
|
+
|
|
185
185
|
include CommandMixins::Networkmode
|
|
186
186
|
|
|
187
187
|
def mode_val
|
data/lib/setup_oob/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: setup_oob
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Phil Dibowitz
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir:
|
|
10
10
|
- bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2026-06-13 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: ipaddress
|
|
@@ -59,7 +59,7 @@ files:
|
|
|
59
59
|
- lib/setup_oob/command/smc.rb
|
|
60
60
|
- lib/setup_oob/oob.rb
|
|
61
61
|
- lib/setup_oob/version.rb
|
|
62
|
-
homepage: https://github.com/
|
|
62
|
+
homepage: https://github.com/jaymzh/setup-oob
|
|
63
63
|
licenses:
|
|
64
64
|
- Apache-2.0
|
|
65
65
|
metadata:
|
|
@@ -72,14 +72,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
72
72
|
requirements:
|
|
73
73
|
- - ">="
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '3.
|
|
75
|
+
version: '3.3'
|
|
76
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
requirements:
|
|
78
78
|
- - ">="
|
|
79
79
|
- !ruby/object:Gem::Version
|
|
80
80
|
version: '0'
|
|
81
81
|
requirements: []
|
|
82
|
-
rubygems_version: 3.
|
|
82
|
+
rubygems_version: 3.5.22
|
|
83
83
|
signing_key:
|
|
84
84
|
specification_version: 4
|
|
85
85
|
summary: Setup OOB systems from Linux
|