Skip to content

Commit

Permalink
Merge pull request coreos#1596 from endocode/dongsu/machine-id-nspawn…
Browse files Browse the repository at this point in the history
…-fxtests

functional: write machine ID into nspawn container
  • Loading branch information
Dongsu Park committed May 26, 2016
2 parents 5423b01 + 0f92824 commit ba58786
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions functional/platform/nspawn.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,11 @@ func (nc *nspawnCluster) createMember(id string) (m Member, err error) {
"core:x:500:",
0644,
},
{
"/etc/machine-id",
nm.ID(),
0644,
},
{
"/home/core/.bash_profile",
"export PATH=/opt/fleet:$PATH",
Expand Down

0 comments on commit ba58786

Please sign in to comment.