Merge pull request #55 from charlieok/update_vm_from_jessie_to_stretch

Update vagrant machine from jessie to stretch
This commit is contained in:
Ian Munoz 2019-03-26 09:31:05 -06:00 committed by GitHub
commit 298ee405b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 16 deletions

2
Vagrantfile vendored
View File

@ -5,7 +5,7 @@ Vagrant.configure(2) do |config|
config.ssh.forward_agent = true config.ssh.forward_agent = true
config.disksize.size = '16GB' config.disksize.size = '16GB'
config.vm.define 'zcash-build', autostart: false do |gitian| 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.network "forwarded_port", guest: 22, host: 2200, auto_correct: true
gitian.vm.provision "ansible" do |ansible| gitian.vm.provision "ansible" do |ansible|
ansible.playbook = "gitian.yml" ansible.playbook = "gitian.yml"

View File

@ -1,6 +1,6 @@
Unattended-Upgrade::Origins-Pattern { Unattended-Upgrade::Origins-Pattern {
"o=Debian,n=jessie-updates"; "o=Debian,n=stretch-updates";
"o=Debian,n=jessie,l=Debian-Security"; "o=Debian,n=stretch,l=Debian-Security";
}; };
Unattended-Upgrade::Remove-Unused-Dependencies "true"; Unattended-Upgrade::Remove-Unused-Dependencies "true";
Unattended-Upgrade::Automatic-Reboot "false"; Unattended-Upgrade::Automatic-Reboot "false";

View File

@ -24,6 +24,7 @@
- gnupg2 - gnupg2
- kpartx - kpartx
- lintian - lintian
- lxc
- make - make
- python-cheetah - python-cheetah
- qemu-utils - qemu-utils
@ -107,19 +108,6 @@
group: root group: root
mode: "0644" 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. - name: Clone git repository for Gitian builder.
git: git:
repo: "{{ gitian_builder_url }}" repo: "{{ gitian_builder_url }}"