11 lines
		
	
	
		
			252 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			252 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/sh -eux
 | 
						|
 | 
						|
case "$PACKER_BUILDER_TYPE" in
 | 
						|
vmware-iso|vmware-vmx)
 | 
						|
    apt-get install -y open-vm-tools;
 | 
						|
    mkdir /mnt/hgfs;
 | 
						|
    systemctl enable open-vm-tools
 | 
						|
    systemctl start open-vm-tools
 | 
						|
    echo "platform specific vmware.sh executed";
 | 
						|
esac
 |