Commit Graph

85 Commits

Author SHA1 Message Date
Christian Goll
e6ef30ed53 porfile add has now all otions of set 2022-07-15 11:10:12 +02:00
Christian Goll
510f6a60a9 added excludellist to CreateFlags 2022-07-14 10:40:46 +02:00
Christian Goll
e0c62a81a4 testing profile set 2022-07-14 10:35:27 +02:00
Christian Goll
14b86a5e8e added profile set over API 2022-07-13 15:56:04 +02:00
jcsiadal
9b6b93a5cb Rename default to primary in src
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-05-05 03:13:21 +00:00
Gregory M. Kurtzer
04decd799f Merge pull request #410 from gmkurtzer/boolean_print_fixes
Align boolean prints
2022-05-03 22:12:39 -07:00
Gregory Kurtzer
c95c518dde Align boolean prints 2022-04-27 22:33:34 -07:00
jcsiadal
dbd747788f wwctl profile fixes
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-04-19 21:59:34 +00:00
Christian Goll
edc7c04bc2 PrintB returns string 2022-04-14 11:43:02 +02:00
Christian Goll
f9848455c7 output ipmi write status 2022-04-14 11:29:24 +02:00
Christian Goll
95050a44ce add user defined keys for networks/netdev
Every network in the profile and for the nodes can have induvidual keys values
pairs, called Tags, which are propergated to the templates. So they can be used
for things like MTU size like
  `wwct node set node01 --nettag mtu=9000`
and in in ifcfg.xml.ww
```
{{ if $netdev.Tags.mtu -}}
<mtu> {{ $netdev.Tags.mtu }} </mtu>
{{ end -}}
```
2022-04-06 21:36:17 +02:00
jcsiadal
bfde70cf8a Error free lint
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2022-04-04 17:01:11 +00:00
Christian Goll
c0f7ecf357 store the ovelats as yaml list 2022-03-24 19:45:51 +01:00
Christian Goll
88631a98d3 fixed linting 2022-03-02 21:24:15 +01:00
Christian Goll
5ac75661c9 Only write to IPMI if this is explictly wanted 2022-03-02 21:24:05 +01:00
Gregory M. Kurtzer
88832420ca Merge pull request #306 from gmkurtzer/container_kernel_integration
Utilize containerized kernel by default
2022-02-27 18:03:25 -08:00
Gregory Kurtzer
1203186194 Support kernel overrides from the host or other containers 2022-02-17 07:37:04 +00:00
Gregory Kurtzer
104bc7527d Restored deleted kernel components for overrides 2022-02-17 06:21:40 +00:00
MatthewHink
a01e8319d2 Allow asset tags in the profile.
Warn and ignore ip addresses and hardware addresses.
2022-02-16 11:41:44 -05:00
MatthewHink
a29e9ed6be Remove unique settings from profile set. Warn if set in the node DB.
IP address
MAC address
Asset Tag
2022-02-15 10:58:28 -05:00
Gregory Kurtzer
5a0c13225e Utilize containerized kernel and remove kernel Support 2022-02-15 06:49:24 +00:00
Gregory M. Kurtzer
d38d023782 Merge pull request #297 from gmkurtzer/discoverable-fix
Discoverable and network fixes
2022-02-11 19:23:46 -08:00
Gregory Kurtzer
e6a3810d20 Fixing oddball network configuration parameters 2022-02-12 03:08:33 +00:00
Gregory Kurtzer
30994fd60d Setting sane defaults for node and profile selection 2022-02-12 01:27:58 +00:00
Gregory Kurtzer
ffaf794a42 Changed "key" paramaters to tags and cleaned up interface 2022-02-11 05:52:46 +00:00
Gregory Kurtzer
7381efb0fc Fix the help output for set -N ... 2022-02-11 04:55:04 +00:00
Gregory Kurtzer
c5cbd3d6e3 Simplified default network device configuration 2022-02-10 16:35:46 +00:00
Gregory Kurtzer
d9c13c3f36 Initial commit of asset key tag security check 2022-01-24 00:32:02 +00:00
Gregory Kurtzer
e3d76f01e2 Merge branch 'main' of github.com:hpcng/warewulf into overlay_refactor 2022-01-06 00:37:17 +00:00
Gregory Kurtzer
5602fb0177 Minor fixup for not setting onboot to be true via Cobra
This is already done more robustly within the code
2022-01-04 02:20:06 +00:00
Gregory Kurtzer
f0fa6385eb Add "DEFAULT" to the node and profile list output 2021-12-29 17:50:49 -08:00
Gregory Kurtzer
9f53bca1bf Various fixes found in testing 2021-12-29 17:16:53 -08:00
Gregory Kurtzer
00d8d42e9d First pass at a rework of the overlay subsystem in Warewulf 2021-12-29 16:11:25 -08:00
Gregory Kurtzer
189df61366 Always set onboot to true for default 2021-12-28 16:13:55 -08:00
Gregory Kurtzer
f5a9c0f933 Fixed backwards compatibility with --netdev and cleanups 2021-12-28 16:07:19 -08:00
Gregory Kurtzer
938511e9cd Merge branch 'main' of github.com:gmkurtzer/warewulf into netdev_refactor 2021-12-28 15:17:21 -08:00
Michael L. Young
23fb20637f Fix displaying IPMI settings when listing profiles
Remove displaying the IPMI ip address field when looking at all
the settings in a profile since this is not set in the profile,
only on the node level.
2021-12-07 09:56:35 -05:00
Michael L. Young
3957ffb2c9 ipmi: Fix log output, set IMPI port on profile and settings for console
- Fix the logs to reference the correct IPMI setting that is being set.

- Add setting the IPMI port at a profile level.

- Apply all IPMI settings when preparing to us the console.

Closes #225
2021-12-06 16:32:31 -05:00
jcsiadal
0b93d6c277 Update help
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2021-11-08 11:36:21 -08:00
jcsiadal
de2c882ba1 Replace HTML in help
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com>
2021-10-28 17:48:16 -07:00
Gregory Kurtzer
1370932cd3 Introduction of netname functionality for network devices 2021-10-23 07:12:57 -07:00
Gregory Kurtzer
cb1455bd8b Allow --discoverable option to be set via profiles (ref: #159) 2021-10-01 00:05:41 -07:00
Christian Goll
edf1329246 added basic error handling for flag nouns 2021-09-28 12:14:46 +02:00
Christian Goll
4810f2c5a2 dynamic nouns for 'wwctl profile' 2021-09-28 11:38:48 +02:00
Gregory Kurtzer
20031c2cfb More nomenclature cleanups 2021-09-12 14:25:43 -07:00
Gregory Kurtzer
60155cf127 these validity checks were causing problems with undefining configurations.
Removing these for now, as we will trust the user with doing the right thing.
2021-09-12 14:15:54 -07:00
Gregory Kurtzer
859bbcc316 Be more consistent with UI nomenclature with kernel and container 2021-09-12 13:35:49 -07:00
WestleyR
fdf6fc88fa Use Id.Get(), remove unused function 2021-09-07 21:28:21 -07:00
WestleyR
4edc16953e Fix linting issues 2021-09-07 20:48:51 -07:00
Michael L. Young
13ad67e56e Add IPMI Port Configuration
This commit adds the ability to configure the default IPMI port for a
profile or per node. If the port is not set, we default to 623.

Updated some areas to default to 'lan' for IPMI interface if it has not
been set.
2021-08-24 19:11:39 -04:00