Move bitcoind datadir from host to VM storage
This commit is contained in:
@@ -3,27 +3,6 @@
|
||||
# Recipe:: source
|
||||
#
|
||||
|
||||
# TODO move to custom kosmos cookbook before publishing bitcoin cookbook
|
||||
systemd_unit "mnt-data-bitcoin.mount" do
|
||||
content({
|
||||
Unit: {
|
||||
Description: 'Bitcoin Core data directory',
|
||||
},
|
||||
Mount: {
|
||||
What: '/var/lib/vmshare-bitcoin',
|
||||
Where: '/mnt/data/bitcoin',
|
||||
Type: '9p',
|
||||
Options: 'trans=virtio,version=9p2000.L'
|
||||
},
|
||||
Install: {
|
||||
WantedBy: 'multi-user.target'
|
||||
}
|
||||
})
|
||||
verify false
|
||||
triggers_reload true
|
||||
action [:create, :enable, :start]
|
||||
end
|
||||
|
||||
build_essential
|
||||
include_recipe 'ark'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user