Open maholloway opened 1 month ago
Works a treat with the "node" value for the --type flag. Output:
[root@mh-striker01 ~]# striker-initialize-host --target 192.168.1.175 --password $ANVIL_PASS --type node
'Initialize host' job: [] picked up.
Use of uninitialized value in concatenation (.) or string at /usr/sbin/striker-initialize-host line 1163.
Connecting to the target: [root@192.168.1.175]...
Connected!
Adding repositories.
Updating the target's operating system prior to package install.
[ Note ] - This step can take a while to finish, and there will be no input here until it completes.
Removing conflicting packages.
Will now install: [anvil-node].
Verifying installation.
Success!
Successfully added/confirmed the filter in lvm.conf.
Finished! The target should be ready for initial configuration shortly. If it isn't, please check that the 'anvil-daemon' daemon is running.
[root@mh-striker01 ~]#
This issue pertains to the following package versions: anvil-core-2.92-1.2.9cfa.el9.noarch anvil-striker-2.92-1.2.9cfa.el9.noarch
Using
striker-initialize-host
with --type host results in the following error:This appears to be due to the if statement on line 1129 of
striker-initialize-host
, which reads [in context]:Apparent fix: Change error_0377 to refer to "node" rather than "host" or modify line 1129 of
striker-initialize-host
to test for--type host
instead of--type node