Merge pull request #55 from charlieok/update_vm_from_jessie_to_stretch
Update vagrant machine from jessie to stretch
This commit is contained in:
commit
298ee405b8
|
@ -5,7 +5,7 @@ Vagrant.configure(2) do |config|
|
|||
config.ssh.forward_agent = true
|
||||
config.disksize.size = '16GB'
|
||||
config.vm.define 'zcash-build', autostart: false do |gitian|
|
||||
gitian.vm.box = "debian/jessie64"
|
||||
gitian.vm.box = "debian/stretch64"
|
||||
gitian.vm.network "forwarded_port", guest: 22, host: 2200, auto_correct: true
|
||||
gitian.vm.provision "ansible" do |ansible|
|
||||
ansible.playbook = "gitian.yml"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
Unattended-Upgrade::Origins-Pattern {
|
||||
"o=Debian,n=jessie-updates";
|
||||
"o=Debian,n=jessie,l=Debian-Security";
|
||||
"o=Debian,n=stretch-updates";
|
||||
"o=Debian,n=stretch,l=Debian-Security";
|
||||
};
|
||||
Unattended-Upgrade::Remove-Unused-Dependencies "true";
|
||||
Unattended-Upgrade::Automatic-Reboot "false";
|
||||
|
|
|
@ -24,6 +24,7 @@
|
|||
- gnupg2
|
||||
- kpartx
|
||||
- lintian
|
||||
- lxc
|
||||
- make
|
||||
- python-cheetah
|
||||
- qemu-utils
|
||||
|
@ -107,19 +108,6 @@
|
|||
group: root
|
||||
mode: "0644"
|
||||
|
||||
- name: Set up jessie-backports.
|
||||
apt_repository:
|
||||
repo: 'deb http://httpredir.debian.org/debian/ jessie-backports main'
|
||||
state: present
|
||||
|
||||
- name: Install updated version of LXC.
|
||||
apt:
|
||||
name: lxc
|
||||
state: latest
|
||||
default_release: jessie-backports
|
||||
update_cache: yes
|
||||
cache_valid_time: 3600
|
||||
|
||||
- name: Clone git repository for Gitian builder.
|
||||
git:
|
||||
repo: "{{ gitian_builder_url }}"
|
||||
|
|
Loading…
Reference in New Issue