On 2019-09-18 06:06, Ben Woods wrote: > I just deployed a new FreeBSD 12 instance on AWS (thanks again BTW), and I > think I spotted an error in the firstboot script after a freebsd-update. > > freebsd-update 738 - - Requesting reboot after installing updates. > expr: syntax error > [: -lt: unexpected operator > > Do you think this is part of the firstboot script for EC2? This is caused by the the ec2_ephemeralswap script; it broke when the SWAPMETA VM zone went away. I've disabled that script in the new AMI builds, but of course if you have ec2_ephemeralswap_enable=YES in an instance you upgrade, you'll see this error.
For now, just remove the ec2_ephemeralswap_enable line; some day I'll find time to fix the script to work on recent FreeBSD (including working with the newer "nvme" disks). -- Colin Percival Security Officer Emeritus, FreeBSD | The power to serve Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid _______________________________________________ freebsd-cloud@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-cloud To unsubscribe, send any mail to "freebsd-cloud-unsubscr...@freebsd.org"