Adapt ec2-run-user-data for VirtualBox.