Changeset View
Changeset View
Standalone View
Standalone View
release/tools/ec2-base.conf
| Show All 22 Lines | vm_extra_pre_umount() { | ||||
| # will download quickly; but users will often override this setting | # will download quickly; but users will often override this setting | ||||
| # via EC2 user-data. | # via EC2 user-data. | ||||
| echo 'firstboot_pkgs_list="devel/py-awscli"' >> ${DESTDIR}/etc/rc.conf | echo 'firstboot_pkgs_list="devel/py-awscli"' >> ${DESTDIR}/etc/rc.conf | ||||
| # Any EC2 ephemeral disks seen when the system first boots will | # Any EC2 ephemeral disks seen when the system first boots will | ||||
| # be "new" disks; there is no "previous boot" when they might have | # be "new" disks; there is no "previous boot" when they might have | ||||
| # been seen and used already. | # been seen and used already. | ||||
| touch ${DESTDIR}/var/db/ec2_ephemeral_diskseen | touch ${DESTDIR}/var/db/ec2_ephemeral_diskseen | ||||
| metalog_add_data ./var/db/ec2_ephemeral_diskseen | |||||
| # Configuration common to all EC2 AMIs | # Configuration common to all EC2 AMIs | ||||
| ec2_common | ec2_common | ||||
| # Standard FreeBSD network configuration | # Standard FreeBSD network configuration | ||||
| ec2_base_networking | ec2_base_networking | ||||
| return 0 | return 0 | ||||
| } | } | ||||