added standalone
config option for automatic
installations
#872
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem:
harvester
without any existing infrastructure and no users with the technical ability to do it manually or troubleshoot.USB
withharvester
on it.harvester.install.automatic=true
install ofharvester
using theISO
due toharvester.install.automatic=true
requiring theharvester.install.isoUrl=<isoUrl>
which starts a process follow inharv-install
geared towardsPXE
installs.Solution:
harvester.install.standalone=true
, which is defaultedfalse
for backwards compatibility, to include an additional check to bypass theharvester.install.isoUrl=<isoUrl>
requirement when usingharvester.install.automatic=true
.standalone
to something else... we debated something likeharvester.install.automatic.mode=PXE/CD
or something similar...Related Issue:
harvester-installer/pkg/console/validator.go
Line 423 in f8a05d7
Test Plan:
CD
orUSB
withharvester
harvester
to boot up...$linux ($root)/boot/kernel cdroot root=live:CDLABEL=COS_LIVE rd.live.dir=/ rd.live.squashimg=rootfs.squashfs console=tty1 rd.cos.disable net.ifnames=1 ${extra_iso_cmdline} ip=<ip>::<gateway>:<subnet>:<hostname>:<interface>:none harvester.scheme_version=1 harvester.install.automatic=true harvester.install.standalone=true harvester.install.skipchecks=true harvester.install.mode=create harvester.install.management_interface.method=static harvester.install.management_interface.interfaces='name:<interface>' harvester.install.management_interface.ip=<ip> harvester.install.management_interface.subnetMask=<subnet> harvester.install.management_interface.gateway=<gateway> harvester.install.management_interface.default_route=true harvester.token=Pa22word harvester.os.hostname=<hostname> harvester.os.password=Pa22word harvester.os.ntpServers=<ntp> harvester.os.ntpServers=<ntp> harvester.os.dnsNameservers=<dns> harvester.os.dnsNameservers=<dns> harvester.install.device=/dev/<disk> harvester.install.vip=<vip ip> harvester.install.vipMode=static