Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl authored Jan 21, 2024
1 parent 4cd2dc7 commit 560f302
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ To start a new module from it:

1. Rename some references inside the repo:
```
modulename=$(basename $(pwd) | sed 's/^ns8-//')
git mv imageroot/systemd/user/kickstart.service imageroot/systemd/user/${modulename}.service
git mv tests/kickstart.robot tests/${modulename}.robot
sed -i "s/kickstart/${modulename}/g" $(find .github/ * -type f)
modulename=$(basename $(pwd) | sed 's/^ns8-//') &&
git mv imageroot/systemd/user/kickstart.service imageroot/systemd/user/${modulename}.service &&
git mv imageroot/systemd/user/wordpress-app.service imageroot/systemd/user/${modulename}-app.service &&
git mv tests/kickstart.robot tests/${modulename}.robot &&
sed -i "s/kickstart/${modulename}/g" $(find .github/ * -type f) &&
git commit -a -m "Repository initialization"
```

Expand Down

0 comments on commit 560f302

Please sign in to comment.