canonical / encrypt-cloud-image Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
Please consider building, signing, and releasing versioned binaries.
https://learn.microsoft.com/en-us/azure/virtual-machines/linux/how-to-configure-lvm-raid-on-crypt
For lvms I am thinking we want setup similar to what this article describes, thoughts @chrisccoulson
if there are further arguments to kernel.efi, and thus /etc/kernel/cmdline exists on the root partition, commandline policy should be added.
In main.go we are discovering root partition by using filesystem guid, incase of migrating traditional server images which have efi boot root, the detection logic false detects boot as the root partition. Should we do something similar to https://www.freedesktop.org/software/systemd/man/systemd-gpt-auto-generator.html
///THis is doing false detection in main.go
root := partitions.FindByPartitionType(linuxFilesystemGUID)
@chrisccoulson could you please take a look at this ask, maybe we need to harden this check.
Scenario is we take a Ubuntu server image, remove grub and linux kernel and add the Ubuntu linux fde kernel package there, then run encryption tools on that image, it is detecting boot partition as root partition and encrypting that. I have moved detection logic to our service and pass uuid to the tools based on detection.
Hi there, this issue is not related to an issue on this project, but more a like a general quesrion.
I don't have a lot of knowledge in this domain and while trying to encrypt one of the ubuntu's default cloud images here (https://cloud-images.ubuntu.com/) I came up with this project.
If I grab any of the ubuntu images, I can currently boot them via QEMU withqemu-system-x86_64 -m 512 -drive file=$IMAGE.qcow2
However, after encrypting the image, I can't get it to boot. I'm attaching the corresponding working and non-working qemu logs in case someone is curious about it ๐ '.
I'm probably missing a bunch of thing here but since I couldn't find much in google, hopefully someone can help me by shedding some light.
There are two typos in the following error message:
Unsuppoted device path: %s. Please look at the code to deterimine what's currently supported
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.