Select Badges

Select Supported Platforms

Select Status

RSS

staticip (5) Versions 0.1.5

Configure static ip

Policyfile
Berkshelf
Knife
cookbook 'staticip', '~> 0.1.5', :supermarket
cookbook 'staticip', '~> 0.1.5'
knife supermarket install staticip
knife supermarket download staticip
README
Dependencies

staticip Cookbook

Configure static ip

Requirements

Platform

  • Debian/Ubuntu
  • RHEL/CentOS/Scientific
  • Fedora
  • ArchLinux
  • FreeBSD

Recipes

  • default

Attributes List

  • node['staticip']['nic_interface] - Which nic interface to configure ip. Default value is eth0
  • node['staticip']['ipaddress'] - What ip it should configure

Examples and Common usage

Configure eth0 as 192.168.1.103

"staticip": {
  "nic_interface": "eth0",
  "ipaddress": "127.0.0.1"
}

License & Authors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

apache2 >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Copyright © 2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.

Progress and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.
See Trademarksfor appropriate markings. All rights in any other trademarks contained herein are reserved by their respective owners and their inclusion does not imply an endorsement, affiliation, or sponsorship as between Progress and the respective owners.

Code of Conduct Terms and Conditions of Use Privacy Policy Cookie Policy Trademark Policy Status