Azure / Azure/azure-linux-extensions

Two more VMs == Two more bricks (Who can help?)

Open
#1,240 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
333
Forks
278
Avg merge
2d 9h
Merged PRs (30d)
4

Description

- Vanillia Ubuntu 18.04 Gen1 Images
-
- E8s VMs (64GB)
- apt update
- apt autoremove
- MOUNT a Data Drive
- systemctl disable auoms and the oms-agent-GUID (because Azure Security Center installs it automatically)

Then I format the disk:

```
parted /dev/sdc --script mklabel gpt mkpart datadrive ext4 0% 100%
mkfs.ext4 /dev/sdc1
mkdir /datadrive
mount /dev/sdc1 /datadrive
UUID0="$(blkid -s UUID -o value /dev/sdc1)"
echo "UUID=$UUID0 /datadrive ext4 defaults,nofail 0 0" >>/etc/fstab
```

Encrypt the drive

`az vm encryption enable -g "encryption_test" --name "ETest12" --disk-encryption-keyvault “/subscriptions/XXXXX/resourceGroups/ENCRYPTION_TEST/providers/Microsoft.KeyVault/vaults/EncryptTest2" --volume-type ALL --encrypt-format-all
`

**BRICK!!!!!!!!!!!!!!!!!!!!!!!!**

**Status shows**
1.) Encrypting data drives == works
2.) Encrypting OS disk encryption started == works
3.) "OS disk successfully encrypted, please reboot the VM"

If I Reboot, the machine goes to crap.

GRUB menu in recovery mode - unknown file system.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.