Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ophélie Gagnard
slapos.package
Commits
e38efb90
Commit
e38efb90
authored
Apr 21, 2020
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix vm-bootstrap role for Debian 10
/etc/rc.local doesn't exist anymore in Debian 10
parent
37431d02
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
playbook/roles/vm-bootstrap/tasks/main.yml
playbook/roles/vm-bootstrap/tasks/main.yml
+5
-2
No files found.
playbook/roles/vm-bootstrap/tasks/main.yml
View file @
e38efb90
...
...
@@ -15,8 +15,11 @@
stat
:
path=/etc/opt/netconfig.sh
register
:
netconfig_file
-
name
:
replace /etc/rc.local
copy
:
src=/etc/opt/netconfig.sh dest=/etc/rc.local mode=755
-
name
:
create cronjob for netconfig.sh at boot time
cron
:
name
:
"
call
netconfig.sh
at
reboot"
special_time
:
reboot
job
:
"
/etc/opt/netconfig.sh"
when
:
netconfig_file.stat.exists == True
-
name
:
call netconfig.sh
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment