Created
June 20, 2019 08:11
-
-
Save t0d0r/f8dbd6e2342b48570be34fe56937b6da to your computer and use it in GitHub Desktop.
Revisions
-
t0d0r created this gist
Jun 20, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ 1.upto(24).each { |e| ip = 190 + e puts <<__EOF__ auto eth1:#{ip} iface eth1:#{ip} inet static address 192.168.1.#{ip} netmask 255.255.255.0 __EOF__ }