Error in EC2 firstboot script: "[: -lt: unexpected operator"

Pete Wright pete at nomadlogic.org
Wed Sep 18 16:55:57 UTC 2019



On 9/18/19 6:08 AM, Ben Woods wrote:
> On Wed, 18 Sep 2019 at 21:06, Ben Woods <woodsb02 at gmail.com> wrote:
>
>> Hi Colin,
>>
>> 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?

I've been running 12.0-RELEASE ec2 instances for a while and have not 
noticed this.  I spot checked a system that was built way back in May 
and didn't see this issue.  I'll try to spin up an instance later today 
in my env and see if I can reproduce.

-p

-- 
Pete Wright
pete at nomadlogic.org
@nomadlogicLA



More information about the freebsd-cloud mailing list