Re: Amazon EC2 setup

2018-12-01 Thread Jared McNeill
On Sat, 1 Dec 2018, Martin Husemann wrote: Would it be possible (grep in dmesg, check sysctl, whatever?) to verify we are running on an EC2? And if not, require some explicit rc.conf entry to force this (e.g. for testing puroses), but in usual setups default this script to off? Exactly what

Re: Amazon EC2 setup

2018-12-01 Thread Martin Husemann
On Sat, Dec 01, 2018 at 10:44:05AM -0400, Jared McNeill wrote: > https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html > > On Sat, 1 Dec 2018, m...@netbsd.org wrote: > > > This feels all kinds of insecure, is that the official way to do it? Would it be possible (grep in

Re: CVS commit: src/sys/dev/ic

2018-12-01 Thread Nick Hudson
On 01/12/2018 15:07, Jaromir Dolecek wrote: > -#define NVME_ID_CTRLR_ONCS_SET_FEATURES __BIT(4) > +#define NVME_ID_CTRLR_ONCS_SAVE __BIT(4) Unintended? sbin/nvmectl/identify.c:(cdata->oncs & NVME_ID_CTRLR_ONCS_SET_FEATURES) ? Nick

Re: Amazon EC2 setup

2018-12-01 Thread Jared McNeill
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html On Sat, 1 Dec 2018, m...@netbsd.org wrote: This feels all kinds of insecure, is that the official way to do it? Index: src/distrib/utils/embedded/files/ec2_init diff -u /dev/null

Amazon EC2 setup

2018-12-01 Thread maya
This feels all kinds of insecure, is that the official way to do it? > Index: src/distrib/utils/embedded/files/ec2_init > diff -u /dev/null src/distrib/utils/embedded/files/ec2_init:1.1 > --- /dev/null Fri Nov 30 20:53:02 2018 > +++ src/distrib/utils/embedded/files/ec2_init Fri Nov 30 20:53:02