Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set static IP #64

Open
pniedzwiedzinski opened this issue Feb 24, 2020 · 0 comments
Open

Set static IP #64

pniedzwiedzinski opened this issue Feb 24, 2020 · 0 comments
Labels
devops good first issue Good for newcomers

Comments

@pniedzwiedzinski
Copy link
Member

Add to ansible step that will set static IP in raspbian.

On raspbian we can set static IP with dhcpcd

interface eth0
static ip_address=192.168.220.38/24
static routers=192.168.220.1

So we need to create a configuration file that will be then copied to /etc/dhcpcd.conf and then the dhcpcd service will be restarted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devops good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant