mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Add support for clock setup (#1047)
This adds support for setting clock offset and timers. See https://libvirt.org/formatdomain.html#elementsTime for more info.
This commit is contained in:
@@ -33,6 +33,9 @@ describe 'templates/domain' do
|
||||
domain.cpu_mode = 'custom'
|
||||
domain.cpu_feature(name: 'AAA', policy: 'required')
|
||||
domain.hyperv_feature(name: 'BBB', state: 'on')
|
||||
domain.clock_offset = 'variable'
|
||||
domain.clock_timer(name: 't1')
|
||||
domain.clock_timer(name: 't2', track: 'b', tickpolicy: 'c', frequency: 'd', mode: 'e', present: 'yes')
|
||||
domain.cputopology(sockets: '1', cores: '3', threads: '2')
|
||||
domain.machine_type = 'pc-compatible'
|
||||
domain.machine_arch = 'x86_64'
|
||||
|
||||
Reference in New Issue
Block a user