Support for mounting network file systems during provisioning

Open
#1,293 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
aws, docker, go

Research direction

Review Ignition's current ordering of user creation and systemd unit creation, using the reported EFS mount unit and /var/home flow as the reproduction. Define and test a supported ordering that mounts the share before user configuration is written, including the AWS IAM-authenticated Docker helper case.

Written by the indexing model from the issue text.

Description

Feature Request

Is it possible to run a systemd unit before user creation in ignition ?

Environment

AWS EC2

Desired Feature

In order to have persistent home folder storage, I'm trying to mount an AWS EFS network share. Because of EFS, I can't simply use systemd mount. I need to use a docker image to use AWS EFS mount helper because I use IAM authentication.

What is done for now:

  • ignition create my users
  • iginition create and start my EFS mount unit
  • efs mount unit try to mount my EFS to /var/home

With that method, my user config (e.g ssh authorized key) is not created into my shared drive home folder, but in the local filesystem.

What I would like to do is:

  • iginition create and start my EFS mount unit
  • efs mount unit try to mount my EFS to /var/home
  • ignition create my users

Other Information

Dominant language
Go
Stars
974
Forks
296
Avg merge
6d 14h
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from coreos/ignition

All issues in coreos/ignition

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.