Brian Cain
6fcc5fa31a
Raise error if guest has no available ports for attaching disks
2020-02-11 13:06:57 -08:00
Brian Cain
d5caf672da
Merge pull request #11385 from meitar/patch-1
...
Detail other valid values for `config.ssh.verify_host_key`.
2020-02-11 09:22:07 -08:00
Chris Roberts
6cda268fca
Merge pull request #11384 from treehouseops/nf.bump-middleman-hashicorp-version
...
Website: bump middleman version
2020-02-11 08:11:59 -08:00
Meitar M
1548bcf80e
Detail other valid values for config.ssh.verify_host_key.
...
This commit adds more detail to the documentation for `config.ssh.verify_host_key`. Currently, the documentation only mentions the default value but does not provide any hints as to what valid values exist, or where this value is being passed to. As I'm sure you know, this is ultimately passed to the `net-ssh` library. It would have saved me some time doing searches to have read this fact in the Vagrant docs directly.
Thanks for considering this expansion.
2020-02-10 22:22:29 -05:00
nicolelyn
79961f1769
website: bump middleman version
2020-02-10 19:53:34 -05:00
Brian Cain
3662344d2e
Update rspec tests for driver methods
2020-02-10 15:31:10 -08:00
Brian Cain
4866709c67
Move disk cloning to virtualbox driver 5
2020-02-10 15:17:23 -08:00
Brian Cain
5bc0b28116
Update how to check for empty string
2020-02-10 13:21:27 -08:00
Brian Cain
00d7ecb57f
Remove explicit return for disk configure methods
2020-02-10 13:04:47 -08:00
Brian Cain
b11aa53294
Remove unused experimental flag for disk enablement
2020-02-10 13:03:58 -08:00
Brian Cain
8af2e5c8be
Cast to float on conversation, and return helper size vars to integer
2020-02-10 13:01:41 -08:00
Brian Cain
567351a2af
Disk doc updates
2020-02-10 12:58:11 -08:00
Brian Cain
b2a89f8711
Remove old comment on vbox driver disk method
2020-02-10 12:58:11 -08:00
Brian Cain
4394962f56
Include default disk_ext option in docs
2020-02-10 12:58:11 -08:00
Brian Cain
0aa8a517c4
Add note about resizing VMDK disks
2020-02-10 12:58:11 -08:00
Brian Cain
bb8f04f18a
Add docs note about disk_meta file
2020-02-10 12:58:11 -08:00
Brian Cain
fe6be8c886
Disk doc updates
2020-02-10 12:58:11 -08:00
Brian Cain
a15016931a
Add more docs for disk feature
2020-02-10 12:58:11 -08:00
Brian Cain
773a3aeb7e
Add optional hash arguments to driver methods
2020-02-10 12:58:11 -08:00
Brian Cain
90461014db
Website updates for disk management feature
2020-02-10 12:58:11 -08:00
Brian Cain
edd9ec89cb
Begin to add docs for the virtualbox disk feature
2020-02-10 12:58:11 -08:00
Brian Cain
f59a5c2c70
Enable virtualbox and disk config in single flag
2020-02-10 12:58:11 -08:00
Brian Cain
b594715ded
Add tests for resizing disks
2020-02-10 12:58:11 -08:00
Brian Cain
0ea26b9506
Add test for comparing disk size
2020-02-10 12:58:11 -08:00
Brian Cain
d1d27a3b56
Add tests for handle_configure_disk
2020-02-10 12:58:11 -08:00
Brian Cain
54f17929b5
Add note about vbox gui for troubleshooting
2020-02-10 12:58:11 -08:00
Brian Cain
6872625609
Add more tests for configure_disks virtualbox cap
2020-02-10 12:58:11 -08:00
Brian Cain
a9e678327b
Update docs for disk name
2020-02-10 12:58:11 -08:00
Brian Cain
337f7dd616
Add cleanup_disks tests
2020-02-10 12:58:11 -08:00
Brian Cain
b41147237e
Begin to add docs for disk configuration with virtualbox
2020-02-10 12:58:11 -08:00
Brian Cain
b9a72ce8ff
Make get_port_and_device disk method a driver method instead
2020-02-10 12:58:11 -08:00
Brian Cain
252a7f7a4e
Do not clean up and detach primary disk
2020-02-10 12:58:11 -08:00
Brian Cain
9150d3db7b
Always cleanup disks even if no disks in Vagrantfile
2020-02-10 12:58:11 -08:00
Brian Cain
eff3d47f82
Add cleanup_disks test
2020-02-10 12:58:11 -08:00
Brian Cain
9ca535dbfa
Add test for writing disk_meta file
2020-02-10 12:58:11 -08:00
Brian Cain
718332b35e
Fixup disk tests
2020-02-10 12:58:11 -08:00
Brian Cain
8cd04db602
Update configuration with disk_ext option
2020-02-10 12:58:11 -08:00
Brian Cain
8654b2bb67
Add note about provider specific disk configs
2020-02-10 12:58:11 -08:00
Brian Cain
72576d3046
Rename method for clarity for what it handles
2020-02-10 12:58:11 -08:00
Brian Cain
6ea3c3f40e
Move current_disk work into own method
2020-02-10 12:58:11 -08:00
Brian Cain
e4782e9d6a
Add method doc for method
2020-02-10 12:58:11 -08:00
Brian Cain
236815f2ff
Attempt to connect vagrant managed disks to guest if not attached
2020-02-10 12:58:11 -08:00
Brian Cain
d215d9d785
Only log warning when cleaning up disks
...
If a disk exists but isn't attached to a guest, don't attempt to remove
disk from guest.
2020-02-10 12:58:11 -08:00
Brian Cain
2e53c21fea
Return empty hash instead of null from configure_disks
2020-02-10 12:58:11 -08:00
Brian Cain
ca26afa299
Don't write disk_meta file if no disks to configure
2020-02-10 12:58:11 -08:00
Brian Cain
df742603cb
Add code comment about when SATA controller has no more open ports
2020-02-10 12:58:11 -08:00
Brian Cain
3d4d0be58f
Attach disk to next available port to avoid port fragmentation
...
This commit ensures that vagrant attaches a new disk to the _next
available_ port, rather than the last one "used". This can occur if a
disk has been removed in a previous run, leaving a port open
2020-02-10 12:58:11 -08:00
Brian Cain
c0fb8af1a3
Fix NUMBER typo
2020-02-10 12:58:11 -08:00
Brian Cain
2db81b049b
Only look at SATA Controller disk images
2020-02-10 12:58:11 -08:00
Brian Cain
f6a5a3ae41
Simplify determining next port to use
2020-02-10 12:58:11 -08:00