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
jcsiadal
dbd747788f
wwctl profile fixes
...
Signed-off-by: jcsiadal <jeremy.c.siadal@intel.com >
2022-04-19 21:59:34 +00: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
d9c13c3f36
Initial commit of asset key tag security check
2022-01-24 00:32:02 +00:00
Gregory Kurtzer
9f53bca1bf
Various fixes found in testing
2021-12-29 17:16:53 -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
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
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
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
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
Christian Goll
c6b2fc5795
added configureable ipmiinterface used by ipmitool
...
ipmitool is now searched from $PATH, so that self
compiled ipmitool can be used
2021-08-06 09:22:31 +02:00
Niko Kivel
17f26e8bf1
Params-->Keys
2021-05-11 08:45:09 +02:00
Niko Kivel
54b2164c4e
custom paramters
2021-05-10 00:12:13 +02:00
Gregory Kurtzer
4bc523a052
Optimized sorting methods across nodes and profiles
2021-04-25 15:43:35 -07:00
Cooper, Trevor
ec4ec0e796
restart warewulfd after node and profile set commands
2021-04-15 12:40:36 -07:00
Cooper, Trevor
cbb0e46bac
add SetYes to profile set command
2021-04-15 02:19:38 -07:00
Niko Kivel
89a6e9dc6f
NIC type for profile-->set
2021-03-26 10:38:55 +01:00
Ian Kaneshiro
846b45524c
Tidy up
...
- Ran goimports to format code and imports
- Removed unused module from go.mod
- Added .editorconfig to keep formatting standard across contributors
2021-02-16 11:54:12 -08:00
Gregory Kurtzer
88dbec7ed9
Automatically reload daemon configuration file when configuration file is changed.
2021-02-12 23:00:03 -08:00
Gregory Kurtzer
8a419f648b
Properly configure a network device to be default
2020-12-22 21:51:05 -08:00
Gregory Kurtzer
7aee24e5c1
Clean up and optimize the node and profile sets
2020-12-22 21:18:38 -08:00
Gregory Kurtzer
2b269d3db7
Added kernel args for node and profile command.
2020-12-21 18:44:29 -08:00
Gregory Kurtzer
e5be3d8182
Cleaned init subsystem, Ipmi, SELinux, added Root option, and fixed defaults
2020-12-20 22:41:02 -08:00
Shannon V. Davidson
643a69b75b
Added IpmiGateway in case of separate BMC and control network
2020-12-10 09:52:22 -06:00
Gregory Kurtzer
5c995f9d0f
Added Init to datastructure, fixups to container interface, and --setdefault to kernel and container build
2020-12-06 22:29:25 -08:00
Gregory Kurtzer
8c11c2b304
Renamed vnfs to container, finished VNFS and kernel refactoring
2020-12-06 00:47:00 -08:00
Gregory Kurtzer
0095b55624
Updates around VNFS restructure and kernel restructure. More coming.
2020-12-05 16:43:30 -08:00
Gregory Kurtzer
e80878b240
Changed DomainName to ClusterName
2020-12-03 19:37:52 -08:00
Gregory Kurtzer
84bf9fbb43
profile and node commands and DB all working as expected now
2020-12-03 13:49:49 -08:00
Gregory Kurtzer
eaf6bb1196
This is a work in progress API shift as the data structure has changed and I'm cleaning the interface.
2020-12-03 07:34:26 -08:00
Gregory Kurtzer
43ad7e570c
API updates and fixes to CLI
2020-12-01 23:34:24 -08:00
Gregory Kurtzer
581bc929e0
Add IpmiNetmask configuration
2020-12-01 18:03:22 -08:00