File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ # hostctl
2
+
3
+ ## Install
4
+
5
+ ### Homebrew
6
+
7
+ ``` sh
8
+ brew install guumaster/tap/hostctl
9
+ ```
10
+
11
+ ## References
12
+
13
+ - hostctl website: < https://guumaster.github.io/hostctl/ >
14
+ - hostctl github: < https://github.com/guumaster/hostctl >
Original file line number Diff line number Diff line change
1
+ # #####################################################################
2
+
3
+ hostctl list
4
+ # ## +---------+--------+-----------------+---------------------+
5
+ # ## | PROFILE | STATUS | IP | DOMAIN |
6
+ # ## +---------+--------+-----------------+---------------------+
7
+ # ## | default | on | 127.0.0.1 | localhost |
8
+ # ## | default | on | 255.255.255.255 | broadcasthost |
9
+ # ## | default | on | ::1 | localhost |
10
+ # ## +---------+--------+-----------------+---------------------+
11
+
12
+ # #####################################################################
13
+
14
+ hostctl add k8s < k8s.hosts
15
+ hostctl replace k8s < k8s.hosts
Original file line number Diff line number Diff line change
1
+ 127.0.0.1 jenkins.example.com
You can’t perform that action at this time.
0 commit comments