coreos / tectonic-forum

Apache License 2.0
30 stars 9 forks source link

Baremetal install - rkt run bootcfg - run: error: unknown image filetype #14

Open openijl opened 7 years ago

openijl commented 7 years ago

Issue Report Template

Tectonic Version

v1.4.7

Environment

CoreOS baremetal install on Hyper-V Gen 1

What hardware/cloud provider/hypervisor is being used with Tectonic?

Expected Behavior

Actual Behavior

Reproduction Steps

  1. Follow https://tectonic.com/enterprise/docs/latest/install/bare-metal/index.html#networking-requirements

  2. cp contrib/systemd/bootcfg-for-tectonic.service /etc/systemd/system/bootcfg.service

  3. rkt --insecure-options=image run bootcfg

  4. Result:
    run: error: unknown image filetype

Other Information

Feature Request

Environment

What hardware/cloud provider/hypervisor is being used with Tectonic? Hyper-V Gen 1

Desired Feature

Other Information

alekssaul commented 7 years ago

Hi @openijl - thanks for filing this issue!

cp contrib/systemd/bootcfg-for-tectonic.service /etc/systemd/system/bootcfg.service copies bootcfg systemd service file to appropriate location. Since bootcfg is being run via systemd, you shouldn't need to run it with rkt in the shell. After the cp command please continue with; https://tectonic.com/enterprise/docs/latest/install/bare-metal/index.html#generate-tls-credentials part of the documentation.

dghubble commented 7 years ago

A systemd unit file is provided for CoreOS provisioners so you can copy it into place and start the unit with:

sudo systemctl start bootcfg

as shown a little further down the page (there is some TLS setup before you start it, as Aleks mentioned). It rkt runs the quay.io/coreos/bootcfg image with all the right flags and options.

If you did wish to rkt run yourself, you can adapt the examples for your uses, but the provided unit should save you some time.

mfburnett commented 7 years ago

@openijl have you tried out Tectonic 1.6.2-tectonic.1? We added support for matchbox + Terraform. Let me know if this release or previous releases resolved your problem.