Skip to content
This repository was archived by the owner on Aug 15, 2025. It is now read-only.

Commit 596a3eb

Browse files
a1346054mmguero
authored andcommitted
Trim trailing whitespace
1 parent 70bdd04 commit 596a3eb

11 files changed

Lines changed: 17 additions & 18 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
-
7474
name: Login to DockerHub
7575
if: steps.have_credentials.outputs.access == 'true'
76-
uses: docker/login-action@v1
76+
uses: docker/login-action@v1
7777
with:
7878
username: ${{ secrets.DOCKERHUB_USERNAME }}
7979
password: ${{ secrets.DOCKERHUB_TOKEN }}

docs/installation.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ vagrant(){
147147
}
148148
```
149149

150-
Running Podman in rootless mode maps the root user inside the container to your host user so we need to bypass [entrypoint.sh](https://github.com/vagrant-libvirt/vagrant-libvirt/blob/main/entrypoint.sh) and mount persistent storage directly to `/vagrant`.
150+
Running Podman in rootless mode maps the root user inside the container to your host user so we need to bypass [entrypoint.sh](https://github.com/vagrant-libvirt/vagrant-libvirt/blob/main/entrypoint.sh) and mount persistent storage directly to `/vagrant`.
151151

152152
#### Extending the container image with additional vagrant plugins
153153

example_box/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Libvirt box should define at least three data fields in `metadata.json` file.
2323

2424
## Converting Boxes
2525

26-
Instead of creating a box from scratch, you can use
27-
[vagrant-mutate](https://github.com/sciurus/vagrant-mutate)
28-
to take boxes created for other Vagrant providers and use them
26+
Instead of creating a box from scratch, you can use
27+
[vagrant-mutate](https://github.com/sciurus/vagrant-mutate)
28+
to take boxes created for other Vagrant providers and use them
2929
with vagrant-libvirt.

example_box/Vagrantfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
Vagrant.configure("2") do |config|
77

88
# Example configuration of new VM..
9-
#
9+
#
1010
#config.vm.define :test_vm do |test_vm|
1111
# Box name
1212
#
@@ -22,7 +22,7 @@ Vagrant.configure("2") do |config|
2222
#end
2323

2424
# Interfaces for VM
25-
#
25+
#
2626
# Networking features in the form of `config.vm.network`
2727
#
2828
#test_vm.vm.network :private_network, :ip => '10.20.30.40'
@@ -59,4 +59,3 @@ Vagrant.configure("2") do |config|
5959
#libvirt.default_prefix = ''
6060
end
6161
end
62-

example_box/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"provider" : "libvirt",
33
"format" : "qcow2",
4-
"virtual_size" : 16
4+
"virtual_size" : 16
55
}

lib/vagrant-libvirt/action.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ def self.action_snapshot_delete
411411
end
412412
end
413413
end
414-
414+
415415
# This is the action that is primarily responsible for restoring a snapshot
416416
def self.action_snapshot_restore
417417
Vagrant::Action::Builder.new.tap do |b|
@@ -420,7 +420,7 @@ def self.action_snapshot_restore
420420
unless env[:result]
421421
raise Vagrant::Errors::VMNotCreatedError
422422
end
423-
423+
424424
b2.use SnapshotRestore
425425
end
426426
end
@@ -434,7 +434,7 @@ def self.action_snapshot_save
434434
unless env[:result]
435435
raise Vagrant::Errors::VMNotCreatedError
436436
end
437-
437+
438438
b2.use SnapshotSave
439439
end
440440
end

lib/vagrant-libvirt/action/create_networks.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def create_private_network(env)
321321

322322
@network_ipv6_address = @interface_network[:ipv6_address]
323323
@network_ipv6_prefix = @interface_network[:ipv6_prefix]
324-
324+
325325
@network_bridge_stp = @options[:bridge_stp].nil? || @options[:bridge_stp] ? 'on' : 'off'
326326
@network_bridge_delay = @options[:bridge_delay] ? @options[:bridge_delay] : 0
327327

lib/vagrant-libvirt/config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ def merge(other)
10881088
result.cdroms = c
10891089

10901090
result.disk_driver_opts = disk_driver_opts.merge(other.disk_driver_opts)
1091-
1091+
10921092
c = clock_timers.dup
10931093
c += other.clock_timers
10941094
result.clock_timers = c

lib/vagrant-libvirt/errors.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ class SnapshotDeletionError < VagrantLibvirtError
201201
class SnapshotListError < VagrantLibvirtError
202202
error_key(:snapshot_list_error)
203203
end
204-
204+
205205
class SnapshotCreationError < VagrantLibvirtError
206206
error_key(:snapshot_creation_error)
207207
end

locales/en.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ en:
194194
snapshot_creation_error: |-
195195
Cannot create snapshot(s): %{error_message}.
196196
snapshot_reversion_error: |-
197-
Cannot revert snapshot(s): %{error_message}.
197+
Cannot revert snapshot(s): %{error_message}.
198198
serial_cannot_create_path_error: |-
199199
Error creating path for serial port output log: %{path}
200200

0 commit comments

Comments
 (0)