mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-23 17:33:56 +03:00
L #-: Remove oneimage from rubocop exclusion list
This commit is contained in:
parent
ed5d53f83d
commit
6fbb7467df
@ -333,7 +333,6 @@ AllCops:
|
|||||||
- src/cli/one_helper/oneacct_helper.rb
|
- src/cli/one_helper/oneacct_helper.rb
|
||||||
- src/cli/one_helper/onequota_helper.rb
|
- src/cli/one_helper/onequota_helper.rb
|
||||||
- src/cli/one_helper/oneuser_helper.rb
|
- src/cli/one_helper/oneuser_helper.rb
|
||||||
- src/cli/one_helper/oneimage_helper.rb
|
|
||||||
- src/cli/one_helper/onemarketapp_helper.rb
|
- src/cli/one_helper/onemarketapp_helper.rb
|
||||||
- src/cli/one_helper/onegroup_helper.rb
|
- src/cli/one_helper/onegroup_helper.rb
|
||||||
- src/cli/one_helper/onevnet_helper.rb
|
- src/cli/one_helper/onevnet_helper.rb
|
||||||
|
@ -115,10 +115,10 @@ class AliasSDNATDriver < VNMMAD::VNMDriver
|
|||||||
|
|
||||||
if activate
|
if activate
|
||||||
# create mapping rules
|
# create mapping rules
|
||||||
# rubocop:disable Metrics/LineLength
|
# rubocop:disable Layout/LineLength
|
||||||
# iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j SNAT --to-source 10.0.0.41
|
# iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j SNAT --to-source 10.0.0.41
|
||||||
# iptables -t nat -A PREROUTING -d 10.0.0.41 -j DNAT --to-destination 192.168.0.250
|
# iptables -t nat -A PREROUTING -d 10.0.0.41 -j DNAT --to-destination 192.168.0.250
|
||||||
# rubocop:enable Metrics/LineLength
|
# rubocop:enable Layout/LineLength
|
||||||
nic_aliases.each do |alias_ip, parent_id|
|
nic_aliases.each do |alias_ip, parent_id|
|
||||||
parent_ip = nic_parents[parent_id]
|
parent_ip = nic_parents[parent_id]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user