Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alxhlz/hcloud_assign_ip
https://github.com/alxhlz/hcloud_assign_ip
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/alxhlz/hcloud_assign_ip
- Owner: alxhlz
- Archived: true
- Created: 2021-01-10T17:15:44.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-01-10T17:18:04.000Z (almost 4 years ago)
- Last Synced: 2024-08-28T18:14:25.679Z (4 months ago)
- Language: Python
- Size: 1.95 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hcloud - hcloud assign ip
README
# hcloud assign ip
This little script helps you to assign a floating ip to your current system.
It can be a useful helper in failover scenarios.## How it woks
The script determines the hostname and fqdn of your current system and reads the servers from the hcloud api.
As soon as a match is found it does the assignment of the floating ip.## Installation
1. `git clone https://github.com/lehuizi/hcloud_assign_ip.git`
2. `chmod +x assign-ip.py`
3. `mv assign-ip.py /usr/local/bin/assign-ip`## Usage
`assign-ip `