Skip to content

Commit

Permalink
fix: spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkProminic committed Nov 23, 2022
1 parent fbcaa0e commit 0b187e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/lint-release-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@ on:
jobs:
release-please:
runs-on: ubuntu-latest
env:
GEM_NAME: "vagrant-zones"
steps:
- uses: GoogleCloudPlatform/release-please-action@v2
id: release
with:
release-type: ruby
package-name: vagrant-zones
package-name: ${{ env.GEM_NAME }}
bump-minor-pre-major: true
bump-patch-for-minor-pre-major: true
version-file: "lib/vagrant-zones/version.rb"
version-file: "lib/${{ env.GEM_NAME }}/version.rb"

# Checkout code if release was created
- uses: actions/checkout@v2
Expand All @@ -41,7 +43,6 @@ jobs:
run: bundle exec rake
if: ${{ steps.release.outputs.release_created }}


# Publish to GPR
- name: Publish to GPR
run: |
Expand Down
1 change: 0 additions & 1 deletion lib/vagrant-zones/driver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,6 @@ def zonenicnatsetup_netplan(uii, opts, mac)
## Begin of code block to move to Netplan function
uii.info(I18n.t('vagrant_zones.configure_interface_using_vnic'))
uii.info(" #{vnic_name}")

netplan1 = %(network:\n version: 2\n ethernets:\n #{vnic_name}:\n match:\n macaddress: #{mac}\n)
netplan2 = %( dhcp-identifier: mac\n dhcp4: #{opts[:dhcp4]}\n dhcp6: #{opts[:dhcp6]}\n)
netplan3 = %( set-name: #{vnic_name}\n addresses: [#{ip}/#{shrtsubnet}]\n gateway4: #{defrouter}\n)
Expand Down

0 comments on commit 0b187e5

Please sign in to comment.