Remove redundant apt installations;Add package;Lock builder account
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		@@ -22,12 +22,6 @@ steps:
 | 
			
		||||
  image: bv11-cr01.bessems.eu/library/packer-extended
 | 
			
		||||
  pull: always
 | 
			
		||||
  commands:
 | 
			
		||||
  - |
 | 
			
		||||
    apt-get update
 | 
			
		||||
  - |
 | 
			
		||||
    apt-get install -y \
 | 
			
		||||
      curl \
 | 
			
		||||
      make
 | 
			
		||||
  - |
 | 
			
		||||
    jq '.password="'"$VSPHERE_PASSWORD"'"' ./packer/ova/vsphere.json > /tmp/vsphere.json && \
 | 
			
		||||
    mv /tmp/vsphere.json ./packer/ova/vsphere.json
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
{
 | 
			
		||||
  "build_target": "virt",
 | 
			
		||||
  "disable_public_repos": "false",
 | 
			
		||||
  "extra_debs": "open-iscsi",
 | 
			
		||||
  "extra_debs": "nfs-common open-iscsi",
 | 
			
		||||
  "extra_repos": "",
 | 
			
		||||
  "extra_rpms": "",
 | 
			
		||||
  "firstboot_custom_roles_post": "",
 | 
			
		||||
 
 | 
			
		||||
@@ -221,7 +221,7 @@
 | 
			
		||||
        }
 | 
			
		||||
      ],
 | 
			
		||||
      "password": "{{user `password`}}",
 | 
			
		||||
      "shutdown_command": "echo '{{user `ssh_password`}}' | sudo -S -E sh -c '{{user `shutdown_command`}}'",
 | 
			
		||||
      "shutdown_command": "echo '{{user `ssh_password`}}' | sudo -S -E sh -c 'usermod -L {{user `ssh_username`}} && {{user `shutdown_command`}}'",
 | 
			
		||||
      "ssh_password": "{{user `ssh_password`}}",
 | 
			
		||||
      "ssh_timeout": "4h",
 | 
			
		||||
      "ssh_username": "{{user `ssh_username`}}",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user